让textField光标让右移动10个像素位置:
UIView * view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 10, 40)];
self.textField.leftView = view;
self.textField.leftViewMode = UITextFieldViewModeAlways;
文章标签 ios input光标漂移 文章分类 iOS 移动开发
让textField光标让右移动10个像素位置:
UIView * view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 10, 40)];
self.textField.leftView = view;
self.textField.leftViewMode = UITextFieldViewModeAlways;
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M