164 questions
1 vote
0 answers
567 views
iOS 26 Migration: How to get APNs device token in UISceneDelegate? Alternative to application(_:didRegisterForRemoteNotificationsWithDeviceToken:)?
Question Details: Per Apple's requirement starting iOS 26, we need to migrate from UIApplicationDelegate to UISceneDelegate. However, the critical API for remote notification token handling: ...
3 votes
1 answer
354 views
On iOS 26 App Does Not Receive Deep Link from Widget When Using widgetAccentedRenderingMode on Image
Summary When a SwiftUI widget uses a Link containing an Image modified with .widgetAccentedRenderingMode (using any mode except .fullColor), tapping the image on the widget launches the app but does ...
0 votes
1 answer
17 views
Does adding a bar button item to the navigation bar programmatically when offering scene support differ from the old app delegate approach
I have used the following code for years to add a right bar button item to the navigation bar, but for some unknown reason, this no longer works. It stopped working when I updated my app to have Scene ...
0 votes
1 answer
22 views
navigationItem.rightBarButtonItem No Longer Present After Converting from AppDelegate to SceneDelegate
I received a rather ominous warning that my app must be upgraded to support Scenes. So I updated it based on the approach specified in Apple documentation (Managing your app’s life cycle and ...
0 votes
1 answer
126 views
iOS App Clip - Scanned QR opens the app, but doesn't provide the URL
I'm struggling with App Clips and what appears to be a Black Box technology. So, I have it set up where it "works". I can scan a QR code, and it knows the embedded URL is an invocation URL ...
0 votes
0 answers
175 views
Open universal link when app is in background
I have a case with this problem iOS. When I click an universal link, when the app is in background, the below method not fired func application(_ application: UIApplication, continue userActivity: ...
0 votes
0 answers
140 views
App migrated from SwiftUI to UIKit does not call any SceneDelegate methods, shows blank screen
Background: The situation described is very similar to those highlighted in the following questions on SO and Apple Developer forums. Unfortunately, after trying the suggested solutions, as well as ...
-2 votes
1 answer
119 views
Implementing Facebook App Events in Legacy iOS Project Without Scene Delegate
I'm working on a legacy iOS project where the AppDelegate file exists, but there's no SceneDelegate. I need to implement Facebook App Events following the guidelines provided here: Facebook App Events ...
2 votes
2 answers
747 views
Multi-screen SwiftUI app setup using Scenes
I am trying to set up a SwiftUI app that shows different UI on the device's app and the external, non-interactive display (like Keynote does when presenting). What I have so far: @main app structure ...
0 votes
1 answer
152 views
Swiftui redirect to another view from SceneDelegate
When a specific url is opened we enter to this function func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) { I need to go to a specific screen. What I tried to do ...
0 votes
0 answers
177 views
SwiftUI: External screen view not updating after app comes back to foreground
I need to use external screen do lyrics projection (I develop app for chords & lyrics). Everything works fine until I move app to background and back to foreground. View on external screen is not ...
0 votes
1 answer
199 views
Issues with IOS Universal link launch
I have followed this documentation to set up Universal links. I think I've set up everything successfully because when I tap a universal link, my app is launching and I'm receiving the URL in scene(_:...
1 vote
0 answers
470 views
Carplay scenedelegate never called in SwiftUI
I am facing one issue where I have created a car play scene delegate file but it never gets executed. Here is my code for the app @main struct FredScannerProApp: App { @...
0 votes
0 answers
20 views
How do I fix the error on erased SceneDeleate related with UIKit?
At first, Xcode always been terminated with the error related with EnvironmentObject. To utilize EnvironmentObject on Xcode, I created SceneDelegate.swift since my project didn't contain it. Then it ...
0 votes
1 answer
290 views
None of SceneDelegate methods (options connectionOptions & continue userActivity) are triggered when opening the app via Firebase Dynamic Link
I'm facing an issue with Firebase Dynamic Links in my iOS application. Whenever I open the app using a dynamic link, none of the functions in my AppDelegate or SceneDelegate seem to be called, except ...