ios7中的游标可见性问题 [英] Cursor visibility issue in ios7

查看:171
本文介绍了ios7中的游标可见性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只需在 ios7 SDK 中创建 UITextField 当我输入一些输入,文本显示 UItextField 但光标不是。

Simply creating a UITextField in ios7 SDK but when I enter some input, text is shown UItextField but cursor isn't.

任何关于可能出现问题的线索?

Any clue about what can be the problem?

推荐答案

更改带有光标的UITextField的tintColor

Change the tintColor of the UITextField with a cursor

  [mobileTextField setTintColor:[UIColor blueColor]];

如果您使用XIb,请设置UITextField的锡色

if you are use the XIb please set the tin color of UITextField

>

注意: - 这是工作在IOS 7 +

Note :- This is working on IOS 7+

这篇关于ios7中的游标可见性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆