app get crashed while navigating to RootViewController from Message popup
I used MFMessageComposeViewController class for sending messages. My app get crashed in a particular situation. i e, When Message UI popup comes, user presses home button, app goes background and when come back, I wrote the code to navigate to the root view controller in applicationDidBecomeActive delegate. Please let me know if any suggestions? Shyantanu In app delegate you are assigning the rootviewcontroller and in applicationDidBecomeActive you are redirecting into rootviewcontroller , why not to try directly assign the viewcontroller instead of rootviewcontroller .. You can at least try