You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/quick-ios-app.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Create a new Azure Maps account with the following steps:
40
40
* Read the _License_ and _Privacy Statement_, and check the checkbox to accept the terms.
41
41
* Click the **Create** button.
42
42
43
-

43
+

44
44
45
45
## Get the primary key for your account
46
46
@@ -53,7 +53,7 @@ Once your Maps account is successfully created, retrieve the primary key that en
53
53
> [!Note]
54
54
> If you use the Azure subscription key instead of the Azure Maps primary key, your map won't render properly. Also, for security purposes, it is recommended that you rotate between your primary and secondary keys. To rotate keys, update your app to use the secondary key, deploy, then press the cycle/refresh button beside the primary key to generate a new primary key. The old primary key will be disabled. For more information on key rotation, see [Set up Azure Key Vault with key rotation and auditing](https://docs.microsoft.com/azure/key-vault/secrets/tutorial-rotation-dual)
55
55
56
-

56
+

57
57
58
58
## Create a project in Xcode
59
59
@@ -65,7 +65,7 @@ First, create a new iOS App project. Complete these steps to create an Xcode pro
65
65
66
66
See the [Creating an Xcode Project for an App](https://developer.apple.com/documentation/xcode/creating-an-xcode-project-for-an-app) for more help with creating a new project.
67
67
68
-

68
+

69
69
70
70
## Install the Azure Maps iOS SDK
71
71
@@ -76,14 +76,14 @@ The next step in building your application is to install the Azure Maps iOS SDK.
76
76
3. Switch to **Swift Package** tab
77
77
4. Add Azure Maps iOS SDK: `{link goes here}`
78
78
79
-

79
+

80
80
81
81
## Add MapControl view
82
82
83
83
1. Add custom `UIView` to view controller
84
84
2. Select `MapControl` class from `AzureMapsControl` module
3. In the **AppDelegate.swift** file you'll need to:
89
89
* add import for the Azure Maps SDK
@@ -92,11 +92,11 @@ Setting the authentication information on the AzureMaps class globally using the
92
92
93
93
4. Select the run button, as shown in the following graphic (or press `CMD` + `R`), to build your application.
94
94
95
-

95
+

96
96
97
97
Xcode will take a few seconds to build the application. After the build is complete, you can test your application in the simulated iOS device. You should see a map like this one:
98
98
99
-

99
+

0 commit comments