Accessory button on Cell

Send Snippet To: Save this snippet to Code Collector Pro -- view all balzan's snippets
language: Objective-C
license: Other

Code for Snippet:

// put this method in the table view delegate section
- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath
	// can do something else but most likely want to do this
    [self performSegueWithIdentifier: @"infoButtonTouched" sender: indexPath];
comments powered by Disqus


Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 242
Date Added: 2013-11-22 01:31:03
Last Modified: 2015-02-04 16:04:17

Web Analytics