textfield设置左边距
摘要:
1 CGRect frame = f;//f表示你的textField的frame 2 frame.size.width = 15;//设置左边距的大小 3 UIView *leftview = [[UIView alloc] initWithFrame:frame]; 4 textField.leftViewMode = UITextFieldViewModeAlways;//设置左边距显... 阅读全文
posted @ 2016-08-18 10:03 Sinner_Yun 阅读(412) 评论(0) 推荐(0) 编辑