阅读背景:

UITextField -为leftView添加UIView -无法得到焦点。

来源:互联网 

The UITextFields in my app have placeholder text defined (in Interface Builder), and I cannot cause these fields to acquire focus (i.e. show the keyboard and allow editing) when I tap on the area occupied by the placeholder text. If I tap on the textfields in an area just outside the that of placeholder text (though still within the bounds of the textfiled itself), it acts as normal (i.e. the keyboard pops up and I can edit the content of the textfield). How can I fix this?The UITextFields in my app have placeholder tex




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: