textField.inputView = [[UIView alloc]initWithFrame:CGRectZero]; 转载于:https://my.oschina.net/u/2564478/blog/667521