How can we call a main() method without quitting an app at runtime….or can we relaunch a application without quitting an app…. or can we reload a main window xib file without quitting an app…in iPhone
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot terminate an app using the iPhone SDK and you can’t restart it either.
If you want to get back to your main/initial screen then you just need to pop whatever view controllers you have in your navigation stack and restore the main view to its initial state.