(Created page with "==Secondary swipe button== {{function signature |signature=-(NSString *)tableView:(UITableView *)tableView titleForSwipeAccessoryButtonForRowAtIndexPath:(NSIndexPath *)indexPa...") |
(fix sdklink) |
||
Line 9: | Line 9: | ||
== References == | == References == | ||
* Official reference: {{sdklink|UIKit|UITableViewDelegate}} | * Official reference: {{sdklink|UIKit|UITableViewDelegate|suffix=_Protocol}} | ||
{{navbox Classes|UIKit.framework}} | {{navbox Classes|UIKit.framework}} |
Latest revision as of 06:16, 9 April 2014
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
- Official reference: UITableViewDelegate