Caps Lock Image on Password Protected UITextField

前端 未结 3 1209
暖寄归人
暖寄归人 2021-01-20 20:20

I am creating an app that requires the use of a USB Keyboard. (The normal touch screen keyboard has been disabled and will not show up.) When the user installs the app for t

3条回答
  •  孤城傲影
    2021-01-20 20:59

    Adding a dummy view to the rightView did the trick. Thanks for the input.

    textField.rightView = UIView(frame: CGRect(x: 0, y: 0, width: 0, height: 0))
    

提交回复
热议问题