Understanding application states

When getting ready to assess iOS apps, it is important to understand application states. There are various app states in iOS. Apple allows only one state at a time. These states changes according to user or system actions.

For example, suppose you press the Home key and a text message (SMS) comes in, the currently running app changes its state to the background.

The following are the different states in iOS:

  • Not running: The app will be in this state before it is started and after it is terminated or aborted.
  • Inactive: An app in the inactive state is still running in the foreground but will not receive any events or alerts. For example, if you are browsing a website in Safari and receive an SMS and switch over to the ...

Get Mobile Application Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.