Created
February 12, 2020 06:57
-
-
Save zackperdue/07352e7f7a157bdabe6de6c09f87e47a to your computer and use it in GitHub Desktop.
[FIX] UITextField Text Jumping Sideways
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func resignFirstResponder() -> Bool { | |
let resigned = super.resignFirstResponder() | |
self.layoutIfNeeded() | |
return resigned | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All you have to do is subclass UITextField