Using the suggestion from Danielovich (which is NOT complete), the solution is 2 parts:
Firstly:
- No longer save state in the
pageState
object, instead save state using theSessionState
object. Why? This is so that allPages
can share the sameState
information.
Secondly:
To ensure, that
NavigationState
is not saved so thatMainPage
is always the default page, we need to change theSaveFrameNavigationState
inSuspensionManager
as follows:private static void SaveFrameNavigationState(Frame frame) { var frameState = SessionStateForFrame(frame); frame.GetNavigationState(); frameState["Navigation"] = "1,1,0,15,Skycap.MainPage,12,0"; }