Thursday, 15 July 2010

ios - Make UITableViewCell behave like a real button -


I want to create UITableViewCell to behave like a real code.

Know that I am using

  - (zero) table view: (UITableView *) table view was SelectionRowAtIndexPath: (NSIndexPath *) indexPath` < / Code>  

move, but it is not optimal because it does not behave like the button on tap / drag / release.

If you tap the cell row and draw your finger on the cell, it will not happen when you release your finger, it is selected (but a button will start its operation in the same case ).

Is there an easy way to create UITableViewCell to behave like a real button? Cell ?

UIButton ,>

You can simply create table view cells with one button in them, set the button in line so that you can work out what happens when the button button event is received. Make sure you reset the button tag when returning a reused used table view cell instead of creating a new one.

No comments:

Post a Comment