ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Phone functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Determines if the app has been allowed to track activity based on user data (iOS only).
If activity tracking is authorized, user data may be combined with data from other applications or websites for advertising purposes, for example.
This authorization is required to use AppleAdvertisingIdentifier.
SWITCH AppleTrackingAuthorizationStatus()
    CASE atasNotDetermined
            AppleRequestTrackingAuthorizationAsynchronous(OnTracking)
    CASE atasAuthorized
            TrackUser(AppleAdvertisingIdentifier())
END
Syntax
<Result> = AppleTrackingAuthorizationStatus()
<Result>: Integer constant
Authorization status:
atasAuthorizedThe authorization to track the user or the device has been granted
atasDeniedThe authorization to track the user or the device has been denied.
atasNotDeterminedThe user has not yet granted or denied the request. In this case, you can request user consent with AppleRequestTrackingAuthorizationAsynchronous.
atasRestrictedThe device is managed by a "Device Management Profile" which restricts tracking.
Business / UI classification: Neutral code
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help