I have a SwiftUI application with a TabBar. If I open a detail child view from a NavigationView, and then click on "Back", the TabBar would become transparent,
I'm trying to figure out how to use the navigation bar in SwiftUI I want to put BarButtonItem and images inside the NavigationBar I have been able to display
I am trying to render out a UITextView within a UITableViewCell. For some reason the last line of my text is being cut off. I have followed numerous posts on h
(For SwiftUI, not vanilla UIKit) Very simple example code to, say, display red boxes on a gray background: struct ContentView : View { @State var points:[C
This tutorial by Apple about SwiftUI uses a dollar sign to bind data, and I‘m having trouble finding more information about this data binding in SwiftUI.
Trying to change icon color in UIAction but changing tint does not seem to work at all. Any idea? let imageView = UIImage(systemName: "eye")!
How can I stop a diffable data source scrolling the view to the top after applying the snapshot. I currently have this... fileprivate func configureDataSo
On project we are using classes for model's layer and because of that I have to write code like this: // MARK: - Hashable extension Player: Hashable { stat
How can I center horizontally a View (Image) in an HStack? I want a button to be left aligned and the image to be centered horizontally the view. Currently I ha
Here I have created a sample app that uses diffable data source for a collection view with a custom collection view layout. The specific layout I am using is fr
I am implementing custom app icons for my iOS app, and everything works in the simulator. But when I try on device I get errrors: +[LSApplicationProxy applicati
I´m trying to get the new Canvas feature from Xcode 11 running, but the Canvas won´t show up. What am I doing wrong? This new Xcode feature should s
I am currently trying to implement the new iOS 14 UIColorPicker. Everything works great, except the eye dropper functionality of the UIColorPicker. After select
I am working on an application where I need to observe the hotspot events e.g. there must be a callback when the mobile hotspot turn on also when turn off. I ha
In my iOS 14 App, I can register the legacy AppDelegate by doing this: @main struct MyApp: App { #if os(iOS) @UIApplicationDelegateAdaptor(AppDeleg
I try to deserialize some JSON on Swift 4.2 with Codable Protocol. My Json: { "status":1, "data":[ [ { "id":"4klJeiCKTs
In SwiftUI how can i get my raw string localized? Text(#"Hello \\\\"#) Adding this to the localized file will not work. "Hello \\\\" = "is not translated \\\\"
I'm using Firebase Crashlytics to get crash reports from my iOS app and I get some crashes that I don't understand with a <compiler-generated> error messa
I followed all the steps from documentation and integrated SnapSDK in my iOS app but when I click the share button in my app it directs me to the snapchat but e
In my SwiftUI View I've an Image that I've loaded from assets. I've set the foregroundColor to accentColor, which I've also set in asset as my custom AccentColo