是应为设置了:
tf.rightView = btn tf.rightViewMode = .always
把清楚按钮覆盖了
本文标题:UITextField设置clearButtonMode没效果
本文链接:https://www.haomeiwen.com/subject/hqtqcjtx.html
网友评论