Post

Replies

Boosts

Views

Activity

UITextField rightView sometimes positioned on the left after setting the text value
I have a button, with Auto layout size constraints, created in IB, which in code I have added as the rightView for a UITextField. Using iOS13.3 SDK and running on device and simulator, the button sometimes appears on the left after setting the textfield's text value.This did not ever happen in the last 9 years since iOS4.I have read the UIKit 'fix' in the BETA 5 release notes.Has anyone else seen this behaviour or can suggest a workaround?I have tried embedding the button in a UIView, with constraints, and adding the view as the rightView but the anomaly is still the same.
9
0
5.1k
Apr ’20