iOS Question update date time on restart app

gjoisa

Active Member
Licensed User
Longtime User
My app uses current date and time to serve some results . When a user clicks on home button and app is on pause state, app does not update current date and time while user restarts the app . How can I make app use current date and time every time user opens the app ?
 

Pendrush

Well-Known Member
Licensed User
Longtime User
You can get date and time on Application_Active event in Main module.
B4X:
Private Sub Application_Active
    Log ("Active")
End Sub
 
Upvote 0
Top