OTP AutoFill Not Working Properly on iOS 26.x in Multi-TextField OTP Input Scenarios

We have encountered a consistent problem with OTP (One Time Password) autofill on iOS versions 26.0.1 through 26.3. The issue pertains to apps implementing OTP input using multiple UITextFields (often 6 or 7 separate text boxes for each digit).

Problem Details:

When tapping the OTP autofill suggestion from Messages or supported third-party apps, iOS autofill pastes the entire OTP string into just one UITextField (commonly the second or focused field) rather than distributing digits across the individual text fields.

The delegated UITextField methods such as textField:shouldChangeCharactersInRange:replacementString: receive an entire OTP string at once, but the usual event handlers like UIControlEventEditingChanged do not always trigger, breaking existing logic relying on those.

This results in the OTP input UI showing incorrect or partial OTP, confusing users and forcing manual re-entry.

Many popular apps employing multi-field OTP input UIs face similar autofill malfunctions on iOS 26.x, impacting user experience negatively.

Setting textContentType = .oneTimeCode on the first text field alone is insufficient to restore the intended autofill behavior on iOS 26.x.

This represents a regression or functional deficiency compared to iOS 15-18 autofill handling patterns, which worked reliably for these multi-field OTP UIs.|

Expected Behavior:

OTP autofill should either automatically split the filled code into each UITextField or trigger consistent delegate/callback events to enable developers to replicate this behavior manually.

textDidChange or equivalent events should fire on autofill updates to reflect text changes correctly in multi-field OTP input.

Apple’s OTP autofill system should transparently support or provide clear guidelines for handling multi-field OTP input on iOS 26+.

What We’ve Tried:

Setting .oneTimeCode content type on only the first UITextField.

Handling OTP autofill in delegate methods including shouldChangeCharactersInRange.

Manual distribution and custom logic triggered by textDidChange and other callbacks.

Confirming all relevant system autofill settings are enabled.

Testing on multiple devices and iOS versions (26.0.1 through 26.3).

Note: its happen for may apps which have text field with 6 box otp fill

this our app

bookmyshow app

like this may app have same issue

OTP AutoFill Not Working Properly on iOS 26.x in Multi-TextField OTP Input Scenarios
 
 
Q