I wanted to open a Facebook Group page in the Facebook app on my iPhone but I was getting that error since I did not have any LSApplicationQueriesSchemes in my Info.plist file. This is the code After adding ‘fb’ in my scheme it solves the issue. My Info.plist file Spread the love
Category Archives: swift
Navigation in SwiftUI with multiple views
Navigation in SwiftUI video Download Complete Login app with Laravel API I was trying to build a simple app in iOS + SwiftUI with multiple views that uses NavigationView and NavigationLink. This app is very simple and uses a model to navigate between destinations. Enum ViewType tracks all the destinations. If you want to have …
Continue reading “Navigation in SwiftUI with multiple views”
SwiftUI Know When Entering Landscape Mode
Create a ObservableObject Object like this Now go to your SceneDelegate and add a var on top and pass your settings var in UIHostingController in willConnectTo method. and in didUpdate delegate method, add this code. Now you can use this @EnvironmentObject in any View Spread the love