views:

309

answers:

1

In my previous question I was asking for a next button and it had to act as if the cell was selected. Some decent answers were given and I was satisfied for the moment. However, I noticed that the actions behind my cells depend on a touch.

Now, I read some stuff on the UITouch and I was wondering is it possible to simulate a touch here instead of the code which was added.

[self tableview:[self tableView] didSelectRowAtIndexPath:selectedRow];

A code sample would be nice if someone has an answer.

+1  A: 

Have a look here:

http://cocoawithlove.com/2008/10/synthesizing-touch-event-on-iphone.html

hatfinch
thnx I'll look into it.