ios让textfield的光标不出现,只需要把光标颜色清掉就可以了

textfield.tintColor = [UIColor clearColor];