Autosuggestion word automatically accepted while make another UIWindow as a keyWindow

Originator:yuribalashkevych
Number:rdar://34591481 Date Originated:September 22 2017, 11:37 AM
Status:Open Resolved:
Product:iOS Product Version:
Classification:Bug Reproducible:Always
 
Area:
UIKit

Summary:
Autosuggestion word automatically accepted if keyWindow is changed.

Steps to Reproduce:
1. Create UITextAutocorrectionTypeYes text field
2. Call in viewDidAppear with some delay [[[UIWindow alloc] initWithFrame:self.view.frame] makeKeyAndVisible];
3. Type in text field to make suggestion bar be highlighted

Expected Results:
word automatically is not accepted

Actual Results:
word automatically accepted


Version/Build:
Xcode 9,
iOS 10.2.1

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!