On Jun 7, 2013, at 4:26 AM, Peng Gu <[email protected]> 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.

You should just be able to send it a fake key event whose key code is the 
appropriate arrow key’s.
But I’m not nearly as familiar with events and responders in iOS as I am in Mac 
OS, so I couldn’t quickly find the method that receives key events.

—Jens
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to