iOS调整textfiled输入框中距离左边的间距

 UIView*leftv = [[UIView alloc]init];

  leftv.frame = CGRectMake(0, 0, 12, 1);

  textFiled.leftView = leftv;

  textFiled.leftViewMode = UITextFieldViewModeAlways;

posted @ 2016-07-22 10:11  瀚海枭龙  阅读(539)  评论(0编辑  收藏  举报