File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
8787<TabItem value="swift">
8888
8989```swift title="AppDelegate.swift"
90- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
90+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
9191 return RCTLinkingManager.application(app, open: url, options: options)
9292}
9393```
9494
9595If your app is using [ Universal Links] ( https://developer.apple.com/ios/universal-links/ ) , you'll need to add the following code as well:
9696
9797``` swift title="AppDelegate.swift"
98- override func application (
98+ func application (
9999 _ application : UIApplication,
100100 continue userActivity : NSUserActivity,
101101 restorationHandler : @escaping ([UIUserActivityRestoring]? ) -> Void ) -> Bool {
Original file line number Diff line number Diff line change @@ -84,15 +84,15 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
8484<TabItem value="swift">
8585
8686```swift title="AppDelegate.swift"
87- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
87+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
8888 return RCTLinkingManager.application(app, open: url, options: options)
8989}
9090```
9191
9292If your app is using [ Universal Links] ( https://developer.apple.com/ios/universal-links/ ) , you'll need to add the following code as well:
9393
9494``` swift title="AppDelegate.swift"
95- override func application (
95+ func application (
9696 _ application : UIApplication,
9797 continue userActivity : NSUserActivity,
9898 restorationHandler : @escaping ([UIUserActivityRestoring]? ) -> Void ) -> Bool {
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
8787<TabItem value="swift">
8888
8989```swift title="AppDelegate.swift"
90- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
90+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
9191 return RCTLinkingManager.application(app, open: url, options: options)
9292}
9393```
9494
9595If your app is using [ Universal Links] ( https://developer.apple.com/ios/universal-links/ ) , you'll need to add the following code as well:
9696
9797``` swift title="AppDelegate.swift"
98- override func application (
98+ func application (
9999 _ application : UIApplication,
100100 continue userActivity : NSUserActivity,
101101 restorationHandler : @escaping ([UIUserActivityRestoring]? ) -> Void ) -> Bool {
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
8787<TabItem value="swift">
8888
8989```swift title="AppDelegate.swift"
90- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
90+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
9191 return RCTLinkingManager.application(app, open: url, options: options)
9292}
9393```
9494
9595If your app is using [ Universal Links] ( https://developer.apple.com/ios/universal-links/ ) , you'll need to add the following code as well:
9696
9797``` swift title="AppDelegate.swift"
98- override func application (
98+ func application (
9999 _ application : UIApplication,
100100 continue userActivity : NSUserActivity,
101101 restorationHandler : @escaping ([UIUserActivityRestoring]? ) -> Void ) -> Bool {
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
8787<TabItem value="swift">
8888
8989```swift title="AppDelegate.swift"
90- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
90+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
9191 return RCTLinkingManager.application(app, open: url, options: options)
9292}
9393```
9494
9595If your app is using [ Universal Links] ( https://developer.apple.com/ios/universal-links/ ) , you'll need to add the following code as well:
9696
9797``` swift title="AppDelegate.swift"
98- override func application (
98+ func application (
9999 _ application : UIApplication,
100100 continue userActivity : NSUserActivity,
101101 restorationHandler : @escaping ([UIUserActivityRestoring]? ) -> Void ) -> Bool {
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
8787<TabItem value="swift">
8888
8989```swift title="AppDelegate.swift"
90- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
90+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
9191 return RCTLinkingManager.application(app, open: url, options: options)
9292}
9393```
9494
9595If your app is using [ Universal Links] ( https://developer.apple.com/ios/universal-links/ ) , you'll need to add the following code as well:
9696
9797``` swift title="AppDelegate.swift"
98- override func application (
98+ func application (
9999 _ application : UIApplication,
100100 continue userActivity : NSUserActivity,
101101 restorationHandler : @escaping ([UIUserActivityRestoring]? ) -> Void ) -> Bool {
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal
8787<TabItem value="swift">
8888
8989```swift title="AppDelegate.swift"
90- override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
90+ func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
9191 return RCTLinkingManager.application(app, open: url, options: options)
9292}
9393```
9494
9595If your app is using [ Universal Links] ( https://developer.apple.com/ios/universal-links/ ) , you'll need to add the following code as well:
9696
9797``` swift title="AppDelegate.swift"
98- override func application (
98+ func application (
9999 _ application : UIApplication,
100100 continue userActivity : NSUserActivity,
101101 restorationHandler : @escaping ([UIUserActivityRestoring]? ) -> Void ) -> Bool {
You can’t perform that action at this time.
0 commit comments