iOS Question update date time on restart app

Discussion in 'iOS Questions' started by gjoisa, Sep 16, 2018.

  1. gjoisa

    gjoisa Active Member Licensed 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 ?
     
  2. Pendrush

    Pendrush Well-Known Member Licensed User

    You can get date and time on Application_Active event in Main module.
    Code:
    Private Sub Application_Active
        
    Log ("Active")
    End Sub
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice