From e41a93ad2d95d8dd9ea43587710d1a354d0bf8e5 Mon Sep 17 00:00:00 2001 From: LaGregance <42834229+LaGregance@users.noreply.github.com> Date: Tue, 29 Jul 2025 15:34:21 +0200 Subject: [PATCH] Update linking.md Remove "override" keyword as AppDelegate inherit directly from UIApplicationDelegate that is a protocol, using override cause error "Method does not override any method from its superclass" --- website/versioned_docs/version-0.80/linking.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/versioned_docs/version-0.80/linking.md b/website/versioned_docs/version-0.80/linking.md index e5a73d54362..1957e4be69a 100644 --- a/website/versioned_docs/version-0.80/linking.md +++ b/website/versioned_docs/version-0.80/linking.md @@ -84,7 +84,7 @@ If your app is using [Universal Links](https://developer.apple.com/ios/universal ```swift title="AppDelegate.swift" -override func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { +func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { return RCTLinkingManager.application(app, open: url, options: options) } ``` @@ -92,7 +92,7 @@ override func application(_ app: UIApplication, open url: URL, options: [UIAppli If your app is using [Universal Links](https://developer.apple.com/ios/universal-links/), you'll need to add the following code as well: ```swift title="AppDelegate.swift" -override func application( +func application( _ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {