Official Content

Specifies the reason for your app to access the user's location information at all times. Used up to iOS 10; in iOS 11, Always And When In Use usage description is used instead.

Scope

Objects: Menu, Panel, Work With (Only Main Objects)
Generators: Apple

Description

This property is offered under the Purpose Strings properties group available for Main Smart Device objects under the Apple group.

When an API that involves user privacy is used in an iOS device, as of iOS 8.0 developers must ask the user for permission. For this reason, they must define the message that will be displayed to users in a dialog box that will prompt them for permission, describing the reason(s) why the application is going to use the content.

In particular, when using the Geolocation Proximity Alerts or BeaconProximityAlert Data Type, this is the property where you have to enter the reason(s) why the application will access the user's location all the time (always). This description is also needed if you use GetMyLocation method or StartTracking method methods when the application is running in the background, for example in an action executed by a notification.

Notes

  • A warning message like this will be displayed if the developer uses location services but this property is not set.
    warning: In iOS 8.0 or later, a value for one of these properties is required when you use location services. ('Location Always Usage Description' of <Menu|Panel> for Smart Devices instance '%')
    The iOS version may vary depending on which XCode version is used with support as of iOS 8.0.

Runtime/Design time

This property applies only at design-time.

How to apply changes

To apply the corresponding changes when the property value is configured, Build the Main Object.

See Also

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant