Hi,

I'm guessing you mean just going down and up in the text view lines, not actual 
text lines? If that's the case, I don't believe that's doable. But if you want 
to go to the next or previous sentence, you can use the new line character set 
and some linguistic analysis. I recommend you check the WWDC '12 videos on the 
subject (Text and Linguistic Analysis).

Best,
Igor Ranieri

On Jun 7, 2013, at 1:26 PM, Peng Gu <pan...@gmail.com> wrote:

> In the iPhone/iPad simulator, you can use arrow-up and arrow-down keys on
> Mac to move the cursor to previous/next line in the UITextView. I'd like to
> create two buttons that implements the same functionalities.
> 
> I didn't find any methods that let me do it easily. Any ideas on how to do
> this?
> 
> 
> Thanks,
> Peng
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/igor.elland%40me.com
> 
> This email sent to igor.ell...@me.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to