Home > DeveloperSection > Forums > UITableView cell popup menu
Jessica James
Jessica James

Total Post:16

Posted on    July-27-2015 10:54 PM

 iPhone iPhone  Ios  Objective C 

 0 Reply(s)
 1036  View(s)
Rate this:

In my application I am using custom table cell, in that cell I am having a button.

When I click that button it has to open a popup menu.

if ([strUserID isEqualToString:_LoginID]){

    [cell.editButton addTarget:self action:@selector(myoptionsmenu:)


} else {

    [cell.editButton addTarget:self action:@selector(otheroptionsmenu:)



This is working fine. For login user post, the menu will be myoptionsmenu:

For other users post, the menu will be otheroptionsmenu:

First when I click myoptionsmenu: it is working fine, second when I click otheroptionsmenu: it is working fine.

In the third post, when I click it is showing both myoptionsmenu: and otheroptionsmenu: menus.

I would like to know how to avoid this.


Don't want to miss updates? Please click the below button!

Follow MindStick