I have made an universal app. There are 3 views in my app.
There is a splash screen in the app.
I am suffering from 1 issue that when i go in background by pressing home button from the 1st view and come back from the background , the app relaunches with the splash screen.
But when i go in background by pressing home button from the 2nd view and come back from the background , the app launches with the same screen i left from.
Step by step produce ;
- Start app , splash screen shows for approx. 3 seconds and app starts.
- Press home button, app goes to background.
- Bring app back from background
And on runnig in device, it gives crash log as ;
InstanceNotExists
Terminating app due to uncaught exception 'InstanceNotExists', reason: 'Attempted to access instance before initializaion. Please call takeOff: first.'
I want to stop the whole app relaunching from the begining , instead of from the last resume state.
How can i do it?
Thanks.