Post

Replies

Boosts

Views

Activity

Reply to iOS 15: UIApplication.shared.keyWindow is nil, leading to a crash
Hello, Thanks a lot for this answer. I'm using the Application Lifecycle. This answers clearly how to fix this. However, I would like to clarify a point to make sure I understand properly: The key window just returns the window that receives keyboard events, which may or may not be your app's main window depending on the state of the app. Could you point to states where the main window isn't the key window on iOS (I only have a single window defined by myself in my app). Thanks! Bruno
Topic: UI Frameworks SubTopic: UIKit Tags:
Dec ’21
Reply to iOS 15: UIApplication.shared.keyWindow is nil, leading to a crash
Hello, Thanks a lot for this answer. I'm using the Application Lifecycle. This answers clearly how to fix this. However, I would like to clarify a point to make sure I understand properly: The key window just returns the window that receives keyboard events, which may or may not be your app's main window depending on the state of the app. Could you point to states where the main window isn't the key window on iOS (I only have a single window defined by myself in my app). Thanks! Bruno
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to iOS 15: UIApplication.shared.keyWindow is nil, leading to a crash
That's very clear, thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to iPhone 14 Pro camera broke most ID verification frameworks
We can also report several users having this problem with iOS 16.0.2 in your document scanning app. I have reported this as feedback 11611916. Do you guys have also reported this as a bug to Apple? We need them to quickly fix that. https://feedbackassistant.apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22