iOS Question Trap removing app from task list

Alessandro71

Well-Known Member
Licensed User
Longtime User
Is there a way to trap the user action of removing the app from the task list?
I don't want to block the action, just having the change to flush some log files before being killed
 
Solution
The Application_Inactive event will be raised when the app moves to the background or when the user switches to the "recent apps" view.

Alessandro71

Well-Known Member
Licensed User
Longtime User
The Application_Inactive event will be raised when the app moves to the background or when the user switches to the "recent apps" view.
I see that Application_Inactive is not defined in the default B4XPages template.
May I define it without calling any B4XPages.Delegate. unlike Application_Background and Application_Foreground, or should I call something else before End Sub?
 
Upvote 0
Top