ios - Perform action when opening app for the second time -
when open app fires events viewdidload
, viewdidappear
form view controller when close , run again not call of them.
any idea?
you need read on application states. here link found online outlining different states:
what want notified when app becomes active.
probably easiest way implement function applicationdidbecomeactive()
in app delegate. called when app becomes active foreground app either on launch, or when returns foreground active app.
note if want notification sent object other app delegate can listen uiapplicationdidbecomeactive
notification.
Comments
Post a Comment