Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UITableViewDelegate - iPhone Development Wiki

UITableViewDelegate

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)

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.

References