From iPhone Development Wiki
Revision as of 06:16, 9 April 2014 by Jon889 (talk | contribs) (fix sdklink)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Secondary swipe button

Signature -(NSString *)tableView:(UITableView *)tableView titleForSwipeAccessoryButtonForRowAtIndexPath:(NSIndexPath *)indexPath;

-(void)tableView:(UITableView *)tableView swipeAccessoryButtonPushedForRowAtIndexPath:(NSIndexPath *)indexPath;

Available in 7.0 –

The two methods above are used to add a second button next to the Delete button when the user swipes on a UITableViewCell. This is the grey More button seen in the Mail app.