No UITextFieldDelegate callback for command + delete with attached keyboard

Originator:amcknight2718
Number:rdar://31444971 Date Originated:4/4/2017
Status:Open Resolved:
Product:iOS Product Version:10.3
Classification:Bug Reproducible:Always
 
Area:
UIKit

Summary:
No UITextFieldDelegate callback for command + delete with attached keyboard to signal the user deleted all text to the left of the cursor

Steps to Reproduce:
- Create a UITextField and assign a delegate
- Add stubs for textFieldShouldClear and shouldChangeCharactersIn
- Run on simulator or device, with attached external keyboard
- enter some text and hit command + delete to clear the text

Expected Results:
Either textFieldShouldClear or shouldChangeCharactersIn should be called.

Actual Results:
Neither method is called, or any other method in UITextFieldDelegate.

Version:
Xcode 8.3, iOS 10.2.1 device 10.3 simulator

Notes:


Configuration:
iPad Air 2 iOS 10.2.1, retina MacBook Pro macOS 10.12.3 (16D32)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!