UITextField wrongly shows multiple lines

Xcode Version 11.0 beta 2 (11M337n)

iOS Simulator Version 11.0 (SimulatorApp-895.6 SimulatorKit-553.12 CoreSimulator-643.11)

or iOS 13 Devices



- Create a UITextField in storyBoard, with all default settings

- add autolayout constraint to that textField, such as width 100pt, height 60 pt.

- input a long text, make sure text width will be bigger than textField width constraint

- then run with iOS 13 simulator or iOS 13 devices.



Expect: textField shows text in one line, and with "..." at the end

Actually: textField shows multiple lines



Demo project:

https://github.com/zhangjirui/IOS13UITextFieldTest

Get response from feedback assistant.

"Resolution:Potential fix identified - For a future OS update"

UITextField wrongly shows multiple lines
 
 
Q