Hi,
I would like to delete the view stack when the phone's home button is pressed.
In my app the user taps the "Settings" button from the main screen to display the settings screen. Instead of tapping the "Main Menu" button to take them back to the main screen, they press the phone's home button. When they start the app again, the main screen is displayed. If they try to exit the app by tapping the "Exit" button from the main screen, the settings screen is displayed instead of exiting the app. If they try to tap the "Main Menu" button now, the app exits.
I think if there is a way to delete the view stack this will not happen.
Thanks.
I would like to delete the view stack when the phone's home button is pressed.
In my app the user taps the "Settings" button from the main screen to display the settings screen. Instead of tapping the "Main Menu" button to take them back to the main screen, they press the phone's home button. When they start the app again, the main screen is displayed. If they try to exit the app by tapping the "Exit" button from the main screen, the settings screen is displayed instead of exiting the app. If they try to tap the "Main Menu" button now, the app exits.
I think if there is a way to delete the view stack this will not happen.
Thanks.