Restart the application without leaving the iPhone

How can we call the main () method without leaving the application at runtime ... or we can restart the application without leaving the application .... or we can reload the xib file of the main window without leaving the application ... in iPhone

+3
source share
1 answer

You cannot complete the application using the iPhone SDK, and you also cannot restart it.

If you want to return to the main / initial screen, you just need to pull out all the view controllers that you have in your navigation stack and restore the main view to its original state.

-1
source

Source: https://habr.com/ru/post/1776826/


All Articles