i'm new to swiftUI and trying to create simple app for showing images from API of images i got the images from url but can't show it in Imagev
I would like to run a function each time a tab is tapped. On the code below (by using onTapGesture) when I tap on a new tab, myFunction is called, but the tabvi
Whenever I rotate the device to landscape and back again, the top of the NavigationView (including the title and back button) get clipped under the status bar.
I am trying to create a share sheet to share a Text, it was working fine in iOS 14 but in iOS 15 it tells me that "'windows' was deprecated in iOS 15.0: Use UIW
I have a project and I am trying to implement scenePhase. The logic of the implementation seems to work fine, but I have the following strange problem. When an
I have a simple function to return either Text or Button, but I get the following error: Function declares an opaque return type, but the return statements in
I just get an error "[boringssl] boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics" while to get JSON data from API link. Before it worked an
I'm trying to build a swift app with categories, I created a Picker for my categories but I would like to be able to create a Category inside the Picker itself.
Is there a way how to set contentInset on SwiftUI's List? I need to adjust the bottom inset to have the last item visible above the bottom button. My current s
I've noticed a pretty big issue when using inline navigation bar display mode and searchable on my List in my app. When selecting the navigationlink it’s
I am using the .searchable modifier in SwiftUI. Is there anyway to know when the user presses the search key on the keyboard? I know how to do this by using a
I'm currently developing an application using SwiftUI. I'm looking for some way to make a background color with opacity on a Sheet view. is there any way to do
I have a view with a view model, and actions in this view can change the view model. To be able to break out logic into reusable pieces, I have part of the view
I don't know if this is a bug or I am doing something wrong here. I've added a new button on the Navigation bar that would present a new view. struct MyView: Vi
I have a MapAnnotation in SwiftUI. On user interaction with a annotation, can I display another piece of information, i.e., change the label or show additional
I'm having an issue with Xcode throwing a constraint message in the console every time I use a NavigationTitle. I'd like to say that I've read through the follo
The onTapGesture in SWiftUI doesn't work reliably. This example shows the problem, which is that sometimes when you tap on a cell, the background changes to gr
I'm playing with the new Xcode 12 beta & SwiftUi 2.0. .matchedGeometryEffect() modifier is great to do Hero animations. There is a new property @Namespace i
If I have a string that I will place inside of a SwiftUI button label, how can I determine how much width I need to allow the button to consume such that the te
@State var documents: [ScanDocument] = [] func loadDocuments() { guard let appDelegate = UIApplication.shared.delegate as? AppDelegate else {