ios 关于UITextField 输入文字后placehold

2017-01-04  本文已影响184人  奔哥小木屋

如题, 出现这种问题, 一定是因为你的是手动代码创建的textfield, 打开UI调试器就找到解决方案了.

fix: 设置textfield的backgroundColor为white, textField.backgroundColor = [UIColor whiteColor];

就完美fix掉了

上一篇 下一篇

猜你喜欢

热点阅读