Post

Replies

Boosts

Views

Activity

Reply to Keyframe animation crashes with +[_SwiftUILayerDelegate _screen]: unrecognized selector sent to class on iOS 26
We're experiencing a similar UpdateCycle crash on iOS 26, though with a slightly different manifestation. Our crash occurs when displaying custom inputView keyboards on iPad devices. Crash Details: Exception: NSInternalInconsistencyException Message: Invalid parameter not satisfying: parentEnvironment != nil Location: UC::DriverCore::continueProcessing() at address 5472 in UpdateCycle library OS Version: iPadOS 26.1.0 (84.6% of crashes), also seen on 26.0.0 and 26.0.1 Device: 100% iPad devices (iPad Pro models, all in landscape orientation) Reproduction Context: The crash occurs when a custom UIView is set as textField.inputView and the text field becomes first responder on iPad. The crash happens during UpdateCycle's processing when it attempts to access the focus environment hierarchy. The custom keyboard view appears to be accessed by UpdateCycle before it's fully integrated into the focus hierarchy, resulting in a nil parentEnvironment. Key Observations: iPad-specific: All crashes occur on iPad devices, never on iPhone iOS 26-specific: First appeared in our app version built with Xcode 26 targeting iOS 26 Focus environment related: The crash message explicitly mentions parentEnvironment != nil, suggesting UpdateCycle is trying to access focus environment properties before the view hierarchy is properly established Custom inputView trigger: The crash is triggered when showing custom keyboards (similar to how your issue is triggered during keyframe animations) Stack Trace Pattern: UpdateCycle UC::DriverCore::continueProcessing() + 5472 CoreFoundation CFRunLoopRunSpecific UIKitCore UIApplicationMain Related: This appears to be the same underlying UpdateCycle bug but manifesting differently - your case shows +[_SwiftUILayerDelegate _screen]: unrecognized selector while ours shows parentEnvironment != nil assertion failure. Both occur in UC::DriverCore::continueProcessing() and are iOS 26-specific. This is causing significant production impact for us, and we'd appreciate any guidance or updates on a fix.
Topic: UI Frameworks SubTopic: UIKit Tags:
Dec ’25