开发者

How would I use an NSTimer to automatically scroll text?

开发者 https://www.devze.com 2023-01-04 15:15 出处:网络
I\'d like to sc开发者_JAVA技巧roll text in my iPhone application, and I believe I can use NSTimer for this.How would I use NSTimer in this case?on the timer elapse try this

I'd like to sc开发者_JAVA技巧roll text in my iPhone application, and I believe I can use NSTimer for this. How would I use NSTimer in this case?


on the timer elapse try this

[myTextView scrollRangeToVisible:NSMakeRange(0, 0)];

increment the position range instead

0

精彩评论

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