开发者

UITextField responder line is overlapping with border, How to position responder?

UITextField responder line is overlapping with border, How to position responder?

Blue colored tex开发者_运维技巧t positioning line is overlapping with border in UITextField. Please help me out.

Thanks in advance.

Naveen.


Create a padding and add to the uitextfield as follows:

UIView *paddingView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 5, 20)];
yourtextfield.leftView = unpaddingView;
yourtextfield.leftViewMode = UITextFieldViewModeAlways;

Release the padding view

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜