iPhoneSettings Manual     Reference     Scripting  
Scripting > Runtime Classes > iPhoneSettings
iPhoneSettings

Interface into iPhone specific settings.

Class Variables
generation

The generation of the device (Read Only)

locationServiceStatus

Returns location service status.

locationServiceEnabledByUser

The user can enable or disable location services altogether from the Settings application by toggling the switch in Settings>General>LocationServices.

Class Functions
StartLocationServiceUpdates

Starts location service updates. Last location coordinates could be retrieved via iPhoneInput.lastLocation.

StopLocationServiceUpdates

Stops location service updates. This could be useful for saving battery life.