uiscenedelegate Questions

5

Solved

Method scene(_ scene: UIScene, continue userActivity: NSUserActivity) doesn't get called when the app is launched after the user clicks on a universal link. It works fine when already launched app...
Voiceful asked 4/10, 2019 at 22:43

5

I have a storyboard file that I want to use as my launch screen. I have set the ViewController in that storyboard to be the initial one. I've also set the launch screen like so: Here's the code I ...
Demodulation asked 6/7, 2021 at 23:48

2

Not sure why this is so challenging for me, but how can I detect when the user terminates the app? Because from what I'm seeing, Apple provides a lot of functions that might or might not be called ...
Suffolk asked 24/8, 2021 at 17:44

1

Solved

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...
Epenthesis asked 4/1 at 9:10

4

Solved

When using SwiftUI with iOS 13+, the traditional means of determining background state no longer work. For example: AppDelegate methods applicationDidEnterBackground(_ application: UIApplication) ...

0

I have a SceneDelegate class which is part of Target 1 code. Target 1 is compiled as a static library. public class SceneDelegate: UIResponder, UIWindowSceneDelegate { public var window: UIWindow...
Otisotitis asked 10/11, 2022 at 13:15

3

Solved

I've been working to include Dynamic Links in my app. I have set it up so that links can be generated correctly, and received correctly, but they only work when the app is open and in the backgroun...

7

I'm converting my iOS13 app for iPadOS to SceneDelegate (multi window). How can I get the current UIWindow from the current SceneDelegate? I know that a can access the current scene using UIView....
Fredra asked 12/7, 2019 at 14:42

9

Solved

I have defined a let property within my SceneDelegate. I would like some of the ViewControllers to be able to access that within the scene. In UIKit I could access App Delegate properties like thi...
Ratcliff asked 13/6, 2019 at 21:33

1

Solved

I have a SwiftUI/SpriteKit project. In an error-laden quest to change the bundle identifier, I decided to create a new project and copy my files over. Now I've got this new project with all my old ...
Giacomo asked 3/5, 2021 at 12:49

1

Solved

Issue: I find some unexpected behavior regarding the AppDelegate method application(_:configurationForConnecting:options:). The documentation states: UIKit calls this method shortly before creatin...
Pawnshop asked 21/8, 2020 at 9:18

12

Solved

I am upgrading my app to use the new UIScene patterns as defined in iOS 13, however a critical part of the app has stopped working. I have been using a UIWindow to cover the current content on the ...
Oswald asked 16/7, 2019 at 15:20

3

I am using Xcode 11 and building an app for iOS 13. In a new project I created in Xcode some of the UIApplicationDelegate methods were missing so I added them back into the app delegate file. The n...
Prognosticate asked 8/6, 2019 at 17:42

3

Solved

I need to support iOS 12 and iOS 13. Should I be duplicating code between AppDelegate and SceneDelegate? For example: func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options ...
Tightfisted asked 16/10, 2019 at 3:36

2

Solved

Before we all get used to the approach when in AppDelegate we create UIWindow and then set rootViewController for this Window. Sometimes when we needed to have a custom alert we can create a new UI...
Associationism asked 7/5, 2020 at 4:3

1

I am trying to handle open apps from universal link click. below ios 13 its working good but for ios 13 its working only app running in background. If app not working foreground or background, clic...
Gutturalize asked 7/12, 2019 at 1:53

0

I know that the UISceneDelegate scene(_:openURLContexts:) delegate method is meant as the UIScene equivalent of the UIApplicationDelegate application(_:open:options:) delegate method. But an app ca...
Teleview asked 21/9, 2019 at 5:12

1

Solved

The apple developer docs mentions that multiple instances of a scene are available on iOS 13 (ie both iPhone and iPad) From their developer docs: In iOS 13 and later, the user can create and ma...
Photon asked 12/9, 2019 at 5:2

2

I am using Xcode 11 (beta3) and building an app for iOS 13. In my project I created the delegate methods for UIWindowSceneDelegate declaring it in Info.plist. Now I'm able to create multiple window...
Resonate asked 9/7, 2019 at 16:0
1

© 2022 - 2024 — McMap. All rights reserved.