-
Notifications
You must be signed in to change notification settings - Fork 147
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
Custom Accessory View Not Clickable #715
Comments
did you set the |
looks like you did enable them though, and i see its about an accessory view (sorry I read too quickly the first time) If nobody else gets to digging into this, I will try and check it out sometime in the next couple of days or so. |
@fvonhoven Thanks for reporting the issue, and sorry it's taken so long for us to get back to you. I did some investigating on this issue this morning and you are correct that this does not work as documented. According to Apple's documentation, the only method that I can find that would allow us to hook in and connect your method to an event only applies to Disclosure Button accessory views. https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableViewDelegate_Protocol/index.html#//apple_ref/occ/intfm/UITableViewDelegate/tableView:accessoryButtonTappedForRowWithIndexPath: And this StackOverflow answer confirms: http://stackoverflow.com/a/869643/811307 I'll keep trying to think of a way that we can implement this on our side, but I'm no Obj-C master (yet), so your best bet may be to implement your action on your UIImageView (possibly by wrapping it in a UIButton) for now. @jamonholmgren Any input on this? |
@fvonhoven I also apologize, i said "if nobody gets to this il check in a few days"....29 days ago |
Here's an example of the problem: https://github.com/fvonhoven/pm_bug_accessory_view
I'm unable to capture my click on the UIImageView, seems like a bug.
The text was updated successfully, but these errors were encountered: