summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2015-05-11 23:31:22 -0500
committerBrad Leege <bleege@gmail.com>2015-05-11 23:31:22 -0500
commit48e21ae6e915aecf24022e7ba568d436d876160b (patch)
tree013616771b6496dee9375688377c1ed84f1f7362 /ios
parentb67ce2b09a4552edaccd075ff4deb9293f33a922 (diff)
downloadqtlocation-mapboxgl-48e21ae6e915aecf24022e7ba568d436d876160b.tar.gz
#1516 - Adding explicit checks for developer implementation of user Opt Out functionality
Diffstat (limited to 'ios')
-rw-r--r--ios/app/MBXAppDelegate.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/ios/app/MBXAppDelegate.m b/ios/app/MBXAppDelegate.m
index 90c552aba0..d4af1f59df 100644
--- a/ios/app/MBXAppDelegate.m
+++ b/ios/app/MBXAppDelegate.m
@@ -21,6 +21,9 @@
}
if ( ! accessToken) NSLog(@"No access token set. Mapbox vector tiles won't work.");
+ // Signal To SDK That Opt Out Is In App UI
+// [MGLAccountManager setShowsOptOutInApp:YES];
+
// Start Mapbox GL SDK
[MGLAccountManager setAccessToken:accessToken];