G'day iOS Guru,
I searched many times for an answer, but I can’t find it (I’m sure the first answer to my question will be to another similar question, but I can’t find it).
In any case, my problem is that I am launching a simple card application that the user can discard on the card using a custom circle superimposed around the discarded output.
When the application enters the background mode (iphone is locked or the home button is pressed), if I restart the application again within ~ 5 minutes, the pins are still present and the application reopens on the last screen.
Things are good.
However, if I leave the application in the background for more than 5 minutes, the application will restart and all contacts will be lost.
I have “Application does not work in the background = NO” in plist, and also included “Application registers for location updates” in the “Required background modes” section.
How can I prevent the application from restarting after it enters the background and loads the last open view?
source share