Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utility Buttons are not responding to setTag Property just like in Normal TableView #412

Open
infinZero opened this issue Feb 27, 2017 · 0 comments

Comments

@infinZero
Copy link

I am using standard TableViewCell(not custom) for override its method with SWTableViewCell

Swipe Functionality working pretty well. and it is also showing right & as well as Left Utility buttons

I am also able to achieve index path of selected row for segue sender and it is working well

However I've issue with utility buttons setTag Property

How can I access UitlityButtons row's IndexPath whereas I've already tried following.

NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow]; 
NSLog(@"selected favourite button tag %ld",(long)indexPath);

In simulator it gives me same result each time for each of the row.

selected favourite button tag 0

Any solution to get button's "setTag" property to access index path of the row for those utility buttons when pressed just like in normal tableview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant