I have dowloaded an xml file
that contains some update parameters and then I need to reload these parameters and init some views. Easiest way is to apply this configuration on next app boot. Is there any way to reboot iOS application
programmatically?
Thank you.
You cannot restart an iOS Application in any case, even if you're able to do using some private api your application will be rejected by Apple and will not be considered for App store release.
On iOS. Double click the home button and all the apps you've been using should pop up. Find the screen you'd like to refresh, then flick it upwards until it disappears from the screen.
Tap Apps. It's next to an icon of four circles in the Settings menu. You will see an alphabetical list of all the apps installed on your Android device. Tap the app you want to restart.
Rebooting the app is a bad idea, I'm pretty sure Apple would reject it. However, You could display a popup telling the user to open a close the app to apply your updated information. But the best way would be just to manually call the methods needed to rebuild your app (I.e. the ones that need to use the updated data). If you have to do some extensive rebuilding (i.e. things that the user would immediately notice) it might be a good idea to add in a "loading" progress bar of sorts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With