My application requires following things to be added in an action sheet.
I have
To add to marcio's awesome solution, dismissActionSheet:
can be implemented as follows.
Add this method to your code.
- (void)dismissActionSheet:(id)sender{
[_actionSheet dismissWithClickedButtonIndex:0 animated:YES];
[_myButton setTitle:@"new title"]; //set to selected text if wanted
}