Post

Replies

Boosts

Views

Activity

Reply to Where is UIApplication.OpenURLOptionsKey in SwiftUI app lifecycle?
Hi! Thank you for the info, but unfortunately the UIApplicationDelegate protocol method that's used for this purpose this in an app with the UIKit lifecycle ... func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool .. does not appear to be called in an app with the SwiftUI application lifecycle when instantiated via the UIApplicationDelegateAdaptor property wrapper. Is this data not yet available in an app with the SwiftUI application lifecycle? (Also tested with iOS 18 beta and Xcode 16 beta. Same result. That delegate function doesn't appear to be called even with UIApplicationDelegateAdaptor.)
Topic: UI Frameworks SubTopic: SwiftUI
Jun ’24
Reply to Where is UIApplication.OpenURLOptionsKey in SwiftUI app lifecycle?
Hi, Thank you for the information! I have submitted a feedback report. The FB number is FB13943979 Thanks!
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’24
Reply to Where is UIApplication.OpenURLOptionsKey in SwiftUI app lifecycle?
Hi! Thank you for the info, but unfortunately the UIApplicationDelegate protocol method that's used for this purpose this in an app with the UIKit lifecycle ... func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool .. does not appear to be called in an app with the SwiftUI application lifecycle when instantiated via the UIApplicationDelegateAdaptor property wrapper. Is this data not yet available in an app with the SwiftUI application lifecycle? (Also tested with iOS 18 beta and Xcode 16 beta. Same result. That delegate function doesn't appear to be called even with UIApplicationDelegateAdaptor.)
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jun ’24
Reply to Does SwiftUI have something like UIKit's accessibilityLanguage property?
So naturally, about 5 minutes after posting the question.... I found the answer. Use this modifier: .environment(.locale, .init(identifier: "es")) with the desired locale identifier.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to How can CTTelephonyNetworkInfo().serviceSubscriberCellularProviders return nil?
Thank you! That really helps.
Replies
Boosts
Views
Activity
Oct ’22
Reply to Swift numeric default string interpolation locale?
Thank you very much, that answered my question and then some!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’22