Reply to UITextField drawRect is not invoked in iOS 14 devices It seems the signature of the draw function has changed, I was able to get it working by overriding the following: override func drawText(in rect: CGRect){ } UI Frameworks UIKit Oct ’20