I need help I have app I'm using IGDB api and displaying games with no issue. I need ability to make user search and send the user text to api to display the ga
How can I remove Textfield focus when I press return or click outside Textfield? Note that this is SwiftUI on MacOS. If I do this: import SwiftUI struct Cont
Im trying to create a ScrollView that in turn contains a GeometryReader (Explicitly not the other way around). The GeometryReader should contain an (image) with
I have this ContentView with two different modal views, so I'm using sheet(isPresented:) for both, but as it seems only the last one gets presented. How could I
Gif to understand easier Is there any way to disable collapsibility of SidebarListStyle NavigationViews?
I created a banner modifier that displays a banner from the top. This animates well. However, when I tap to dismiss it, it does not animate at all, just hides e
I have a SwiftUI view that consists of a list with some items. Some of these are links to other screens (so I use NavigationLink to do this) and others are acti
I'm new to SwiftUI and iOS, and I'm trying to create an input field that will only accept numbers. TextField("Total number of people", text: $numOfPeople) T
Here is my code of two overlapping rects, with opacity applied to them. var body: some View { let r = Rectangle() .foregroundColor(.blue) .f
I'm currently looking into Dark Mode in my App. While Dark Mode itself isn't much of a struggle because of my SwiftUI basis i'm struggling with the option to se
When creating a ProgressView and using .accessibilityIdentifier or a standard label, UI tests are able identify it. The view: ProgressView().accessibilityIdenti
I have a TabView in SwiftUI in the PageViewTabStyle so i can swipe from page to page. I'd like to have a setting that "locks" the current view in place, so the
I have a TabView in SwiftUI in the PageViewTabStyle so i can swipe from page to page. I'd like to have a setting that "locks" the current view in place, so the
I would like to understand why am I having issue with the background()? Instance method 'background(_:alignment:)' requires that 'UIColor' conform to 'View' v
I'd like SwiftUI DragGesture to start only when the gesture is in a specific direction (horizontal/vertical). Is it possible?
It looks like Xcode 13.3 broke the TextField with formatter. In example below the Text should show the value entered in the TextField, which works fine when bui
I am having some issues trying to display a PDF which is stored in Firebase Storage in my SwiftUI app. I have successfully done the following; Uploaded a PDF fi
I am working to implement some SwiftUI content into my existing app. I currently have a UIViewController, which hosts a MTKView for camera preview. I have cre
I have a List that's displaying two Views of the same type. When you tap on one of the views, they change their height with an animation. However, the List tho
I want to resize an Image frame to be a square that takes the same width of the iPhone's screen and consequently the same value (screen width) for height. The