UIApplication.ApplicationState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reflects the current application state.
public virtual UIKit.UIApplicationState ApplicationState { [Foundation.Export("applicationState")] get; }
member this.ApplicationState : UIKit.UIApplicationState
Property Value
The current application state.
- Attributes
Remarks
When the user taps on the app icon, the app briefly goes through a transitional state of UIApplicationState.Inactive on its way to becoming UIApplicationState.Active. This is where the app gets itself ready to display to the user.
When the app is open, the application state is UIApplicationState.Active.
If the user presses the home button, and is returned to the springboard (home screen), or the application is interrupted by something, such as a phone call, the application state transitions back to UIApplicationState.Inactive.
For the application state of the app to become Background the application would have to register for a background process.
Reference: https://stackoverflow.com/questions/7937400/need-clarification-about-uiapplicationstate