Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

[ComplexTableViewCell touch]: unrecognized selector sent to instance

In order to achive automatic test with Titanium iphone builds, I try desperately to touch a table cell :

NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:1];
UITableViewCell *cell = [[mainMenuView dataSource] tableView:mainMenuView cellForRowAtIndexPath:indexPath];
[cell touch];

Nevertheless, it fails with the following error : [ComplexTableViewCell touch]: unrecognized selector sent to instance

Any idea to fix this issue ?

— asked April 14th 2010 by Sylvain Rousseau
  • iphone
  • tableview
  • test
0 Comments

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.