How would I close the Settings App programatically and navigate back to the original app that open the Settings App? Thanks
You cannot specifically navigate back to the app that opened Settings.app, or any other app for that matter.
You can only navigate to specific apps using their URL schemes, if they have defined one.
Related
I want to launch NightShift when I touch a button in my app.
I am aware that settings app can be opened by navigating to the settings URL
UIApplication.shared.open(URL(string:UIApplicationOpenSettingsURLString)!)
Is there a link to NightShift too?
If NightShift does not work,is there a way to display & brightness?
You can't navigate to any other page within the iOS Settings app from iOS 10 onwards.
Previously, there used be "prefs:" and "App Prefs:" which could navigate our app within the iOS settings app. But iOS 10 onwards, its a private API and can lead to app rejection by Apple.
Whenever I click on my app's icon, it animated the user interaction but doesn't open the app.
This only happens sometimes after I navigate to other apps can come back.
Figure it out.
It was because the app was from an Xcode build and not from the App Store.
I have a Swift based app that launches other apps using their URL Scheme. I am properly launching a few apps and understand how it all works. When I launch these app, the back to Launchpad (my app) button appears in the upper right but in 2 different third party apps, the app launches but there is no back to button.
Any idea what could cause this.
When I trigger a Facebook share in my app (URL scheme that switches to the Facebook app, and then back again when it's done through another URL scheme associated with my app), I always see the default launch image for a second before I get the UI back.
If I leave the app by pressing the home button and going back I don't get the default launch image. Nor do I get it if I leave the app, open another app and then go back.
Tested on an iPhone 5 with iOS 8. Is this a bug in iOS 8 perhaps? Anybody else encounter this?
EDIT: Oh, and no UIApplicationExitsOnSuspend in the plist, and the app is compiled against iOS 7.
I am looking for a way in iOS8 to start an App from the Settingmenu.
So if I jumped into the settings from the app, after configuration I want jump back to the app.
Is it possible?
Thanks
Simon
It's not possible to go back to your app programmatically from Settings app. User has to manually open the app that is in background.