Hi everyone, i was trying to replicate the
Activity_Resume of B4A in iOS.
There is the
Application_Active, but the problem is that i need to do page related things.
Example
User opens the app on Page 0, then he go to Page1, then the user sends the app to background.
Then he resume the app, so the app will show Page1 that was displayed before,
Application_Active is triggered.
BUT Application_Active (the
same sub) is triggered also when the displayed page is Page2 or Page3 or Page4, and maybe in this case i don't need the code in
Application_Active:
So, given the fact that Page oject does not have any
_Resume event, my idea was to do something like:
Private Sub Application_Active
Select NavControl.currentPage 'this method does not exists'
Case Page0
...
Case Page1
...
End Select
End Sub
there is a "native" way to retrive the current page? or I simply just need to store myself a variable and keep it updated everytime i switch page?
Thanks in advance