iosviewrelaunch

iOS Always be on Startpage when App becomes active


I'm programming a quiz for the iPad and when the user presses the homebutton while in a quiz and relaunches the app I want the quiz to be already cancled and back on the Startpage of the app. Now it simply gets back to the last view it was on.

Also I want it to show the splashscreen again when the app relaunches.

A complete reset of the app, when pressing the homebutton, would be great.

Thanks in advance


Solution

  • Choose the 'application does not run in background' option in your project's plist. If the option isn't there, press the '+' on the side to add the property.

    enter image description here

    This will ensure that the app starts afresh every time it's opened.