Skip to content

Sensimity/TiApplicationState

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TiApplicationState

Adds support for the ApplicationState property to get the UIApplicationState.

Usage

  • Download the latest version from the dist folder
  • Install the module into the modules/iphone folder of your project
  • You can now use the module via require
var TiApplicationState = require('com.sensimity.tiapplicationstate');

Properties

State

The state property is a string containing one of 3 possible values: 'background', 'active', 'inactive'.

var TiApplicationState = require('com.sensimity.tiapplicationstate');
Ti.API.info("TiApplicationState is " + TiApplicationState.state);

About

Adds support for the ApplicationState property of iOS to Appcelerator Titanium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published