mergCLStartLocationManager

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergCLStartLocationManager <pPurpose>, [<pAuthorizationType>]
Associationsmergcl
Summary

Start the location manager

Introduced8.0
OSios, mac
Platformsdesktop, mobile
Parameters
NameTypeDescription
pPurpose

If the user needs to authorize location services for the app then this purpose will be displayed.

pAuthorizationType

(optional with "always" default) iOS 8 requires an explicit call to authorize use of location services wither always on or just when the app is in use. One of: - always - in use

Description

This should be done at startup or preOpenStack from the script of the object you would like to handle to mergCL messages. If the app is started by iOS because of a location event then it will be in the background and only have a limited time to handle the event before being suspended again. If your app requires user attention send a local notification which will bring your app to the foreground if the user touches the banner.

Tagsexternals