Skip to content

Commit dd5f88a

Browse files
Fix typo and Swift indentation in 8.x iOS deep linking setup
1 parent 69ecbcd commit dd5f88a

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

‎versioned_docs/version-8.x/deep-linking.md‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ See [Expo's documentation on Android App Links](https://docs.expo.dev/linking/an
128128

129129
Let's configure the native iOS app to open based on the `example://` URI scheme.
130130

131-
You'll need to add the `LinkingIOS` folder into your header search paths as described [here](https://reactnative.dev/docs/linking-libraries-ios#step-3). Then you'll need to add the following lines to your or `AppDelegate.swift` or `AppDelegate.mm` file:
131+
You'll need to add the `LinkingIOS` folder into your header search paths as described [here](https://reactnative.dev/docs/linking-libraries-ios#step-3). Then you'll need to add the following lines to your `AppDelegate.swift` or `AppDelegate.mm` file:
132132

133133
<IosLanguageTabs>
134134
<TabItem value='swift'>
@@ -165,13 +165,14 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
165165
func application(
166166
_ application: UIApplication,
167167
continue userActivity: NSUserActivity,
168-
restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
169-
return RCTLinkingManager.application(
170-
application,
171-
continue: userActivity,
172-
restorationHandler: restorationHandler
173-
)
174-
}
168+
restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void
169+
) -> Bool {
170+
return RCTLinkingManager.application(
171+
application,
172+
continue: userActivity,
173+
restorationHandler: restorationHandler
174+
)
175+
}
175176
```
176177

177178
</TabItem>

0 commit comments

Comments
 (0)