开发者

UITextField start at end of text

I have a UITextField that displays a long text string. The problem is that when I first open the view containing the UITextField, it automatically shows the 开发者_运维问答end of my text; I want it to show the beginning.

I read the UITextField Class Reference on the Apple dev center, but nothing seems to allow me to change it. How can I do this?


UITextField does not support this. You might consider switching to UITextView (which has a scrollRangeToVisible: method).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜