Post

Replies

Boosts

Views

Activity

Reply to iOS 14.2 Custom Window auto become keyWindow when touching.
I had encountered the same problem. After some time researched and I found out the reason. Apple had changed the private function [_UIRemoteKeyboards peekApplicationEvent:] 's implementation of UIKit in iOS14.2. the touch event of custom window will call [_UIRemoteKeyboards peekApplicationEvent:] function. in previous version [_UIRemoteKeyboards peekApplicationEvent:] did't call [UIWindow _makeKeyWindowIgnoringOldKeyWindow:] to change the keyWindow. but in iOS 14.2 [_UIRemoteKeyboards peekApplicationEvent:] did. so it's the reason why the keyWindow change when you touch the custom Window.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21
Reply to Duplicate Symbol Error when Linking in Xcode: '_CRLF' | XCode 15.0 Beta 8
same issue here.
Replies
Boosts
Views
Activity
Sep ’23
Reply to AVSpeechSynthesisVoice.speechVoices() - different behavior on Mac (Designed for iPhone) and iOS and MANY errors checking .audioFileSettings properties.
same issue here in the VisionOS simulator.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to iOS 14.2 Custom Window auto become keyWindow when touching.
I had encountered the same problem. After some time researched and I found out the reason. Apple had changed the private function [_UIRemoteKeyboards peekApplicationEvent:] 's implementation of UIKit in iOS14.2. the touch event of custom window will call [_UIRemoteKeyboards peekApplicationEvent:] function. in previous version [_UIRemoteKeyboards peekApplicationEvent:] did't call [UIWindow _makeKeyWindowIgnoringOldKeyWindow:] to change the keyWindow. but in iOS 14.2 [_UIRemoteKeyboards peekApplicationEvent:] did. so it's the reason why the keyWindow change when you touch the custom Window.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’21