Relative Content

Tag Archive for swiftui

When using GeometryReader, objects become corrupted when switching between pages

I have 2 pages where I use GeometryReader. On these pages, I resize my views with the dimensions I take. While doing this, I define the objects I use regularly in a different place, give them their size and use them. The problem is that when switching from the 1st page to the 2nd page, the objects on the 2nd page slide to the bottom left and the back button appears at the top. What can I do to solve the problem?

When using GeometryReader, objects become corrupted when switching between pages

I have 2 pages where I use GeometryReader. On these pages, I resize my views with the dimensions I take. While doing this, I define the objects I use regularly in a different place, give them their size and use them. The problem is that when switching from the 1st page to the 2nd page, the objects on the 2nd page slide to the bottom left and the back button appears at the top. What can I do to solve the problem?

When using GeometryReader, objects become corrupted when switching between pages

I have 2 pages where I use GeometryReader. On these pages, I resize my views with the dimensions I take. While doing this, I define the objects I use regularly in a different place, give them their size and use them. The problem is that when switching from the 1st page to the 2nd page, the objects on the 2nd page slide to the bottom left and the back button appears at the top. What can I do to solve the problem?

SwiftUI Button tap only on text portion

The background area of my button is not detecting user interaction. Only way to interact with said button is to tap on the Text/ Label area of the button. How to make entire Button tappable?