Skip to content

Commit 8ab0d33

Browse files
committed
Remove incorrect override from swift snippets for deep link
1 parent 8340865 commit 8ab0d33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versioned_docs/version-7.x/deep-linking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ You'll need to add the `LinkingIOS` folder into your header search paths as desc
156156
<TabItem value='swift' label='Swift' default>
157157

158158
```swift
159-
override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
159+
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
160160
return RCTLinkingManager.application(app, open: url, options: options)
161161
}
162162
```
@@ -184,7 +184,7 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
184184
<TabItem value='swift' label='Swift' default>
185185

186186
```swift
187-
override func application(
187+
func application(
188188
_ application: UIApplication,
189189
continue userActivity: NSUserActivity,
190190
restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {

0 commit comments

Comments
 (0)