uitableview - Table row deletion in Iphone -
I have the table editing in the iPhone. I am using the representative and the data source in my project. The problem occurs when we click delete disclosure, I do not get the delete button. I'm a newbie in iPhone programming so please help me Thank you in advance.
You have to implement methods
- (UITableViewCellEditingStyle) table view : (UITableView *) table view editing style PhorRowAtIndexPath: (NSIndexPath *) indexPath {return UITableViewCellEditingStyleDelete; } - (Zero) Table View: Send the table view (UITableView *) to the article: (UITableViewCellEditingStyle) RowAtIndexPath for editing style: (NSIndexPath *) indexPath
You also need to make sure True that the tblView.editing property is set to true;
Comments
Post a Comment