Skip to main content

Questions tagged [uiscenedelegate]

Methods you use to respond to life-cycle events occurring within a scene.

uiscenedelegate
0 votes
0 answers
40 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: ...
vinu's user avatar
  • 63
0 votes
0 answers
53 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 ...
daspianist's user avatar
  • 5,426
-2 votes
1 answer
50 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 ...
sangam pokharel's user avatar
0 votes
0 answers
60 views

IOS SceneDelegate not invoked when extended in a different target

I have an iOS project with the following targets: SwiftExtensions (AppTarget) -> depends on Experience Experience (StaticLibrary) -> depends on Lifecycle Lifecycle (StaticLibrary) I have ...
NightFuryLxD's user avatar
0 votes
0 answers
188 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 ...
Kacper Cz's user avatar
  • 576
0 votes
1 answer
71 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 ...
tamtoum1987's user avatar
  • 2,037
0 votes
0 answers
121 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 ...
MarekP's user avatar
  • 1
0 votes
1 answer
94 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(_:...
NightFuryLxD's user avatar
0 votes
0 answers
46 views

Routing external events to a specific scene in an iPadOS app

I have a SwiftUI and iPadOS app supporting multiple scenes and many launches. In this post, let's consider only two launch types: Normal launch (user taps on the app icon) File launch (user taps on ...
NightFuryLxD's user avatar
-1 votes
1 answer
56 views

I want to use the existing navigation controller that is currently on the screen. That way the user can return to where they were

I am implementing paypal using SFSafariViewController. I have called the create order api and after the order is success i return back to my app to capture payment by using a deep link in ...
Fiza Saiyed's user avatar
1 vote
0 answers
264 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 { @...
Jitendra Modi's user avatar
0 votes
0 answers
17 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 ...
Tony Kang's user avatar
0 votes
1 answer
167 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 ...
eugene_prg's user avatar
  • 1,098
0 votes
0 answers
128 views

How to enable scene restoration in SceneDelegate? What does scene restoration do?

I'm looking to implement scene restoration and wanted to make sure that I have the right idea on how to approach this. Currently, my application supports multiple windows but every subsequent scene ...
Z X's user avatar
  • 11
1 vote
0 answers
44 views

How to create unit test for UISceneConnectionOptions?

Is there a way to set the launch URL and source application property of connectionOptions/UISceneConnectionOptions for testing SceneDelegate? I see that the properties of UISceneConnectionOptions are ...
Z X's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
11