Incorrect keyboard frame on iOS 26 when using Secure Text with Autofill

Area: Software Update Type of Feedback: Application Bug

Description

Device: iPhone 13 Pro running iOS 26 Build environment: Xcode 16.4

Problem description: When a text field has secureTextEntry = YES and Password Autofill / Passkeys is active, the autofill panel is not included in the rect reported from the keyboard notifications (UIKeyboardFrameEndUserInfoKey or others).

As a result, when calculating the offset to move the screen up and reveal the hidden input field, the field is not displayed correctly because the reported keyboard height is smaller than the actual visible height.

Observed behavior:

This only occurs on devices running iOS 26 built with Xcode 16.4.

On previous versions of iOS, with the same settings (secureTextEntry and Autofill active), the rect correctly includes the autofill panel height, and the UI works as expected.

I tested with both UIKeyboardDidShowNotification and UIKeyboardWillChangeFrameNotification, and in both cases the behavior is the same: the height is incorrect (smaller than expected with the autofill panel).

What I expect / questions:

That UIKeyboardFrameEndUserInfoKey (or the related notification) correctly reports the total area covered by the keyboard, including any password autofill panel, when secureTextEntry is active.

That the new behavior in iOS 26 be documented if this omission is intentional, or otherwise considered a bug if it is not.

If there is any official workaround suggested by Apple for developers affected by this issue while a fix is provided.

Thank you for your support.

Incorrect keyboard frame on iOS 26 when using Secure Text with Autofill
 
 
Q