uttam
uttam

Reputation: 1364

how add the action sheet in the cell of table view

I want to add the action sheet in cell of table view, i want when i click on the cell of table view the action sheet should come and after i click on the the option in action sheet, i want to go to the next view.

Upvotes: 0

Views: 1867

Answers (1)

Rajavanya Subramaniyan
Rajavanya Subramaniyan

Reputation: 2155

Make ur view controller implement the UITableViewDelegate and UIActionSheetDelegate and set those delegates properly

Override tableView:didSelectRowAtIndexPath: show your ActionSheet there Override actionSheet:clickedButtonAtIndex: and dismiss the ActionSheet and show the next view.

Upvotes: 1

Related Questions