summaryrefslogtreecommitdiff
path: root/platform/ios/Mapbox.playground/Contents.swift
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/Mapbox.playground/Contents.swift')
-rw-r--r--platform/ios/Mapbox.playground/Contents.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/Mapbox.playground/Contents.swift b/platform/ios/Mapbox.playground/Contents.swift
index 04618d796e..f31c9b6171 100644
--- a/platform/ios/Mapbox.playground/Contents.swift
+++ b/platform/ios/Mapbox.playground/Contents.swift
@@ -51,7 +51,7 @@ panel.addSubview(pitchSwitch)
Put your access token into a plain text file called `token`. Then select the “token” placeholder below, go to Editor ‣ Insert File Literal, and select the `token` file.
*/
var accessToken = try String(contentsOfURL: <#token#>)
-MGLAccountManager.setAccessToken(accessToken)
+MGLAccountManager.accessToken = accessToken
class PlaygroundAnnotationView: MGLAnnotationView {