MSCMoreOptionTableViewCell
MSCMoreOptionTableViewCell copied to clipboard
iOS11 beta not showing more button.
Looks like it's not an easy task to fix that. The delete confirmation view that is used to add the custom buttons doesn't exist anymore in iOS 11. Instead, a UISwipeActionPullView
is added directly to the UITableViewWrapperView
, not the MSCMoreOptionTableViewCell
. So we would have to hook into the table view, not the cell.
OTOH, iOS 11 adds its own mechanism for swipable cells (-tableView:trailingSwipeActionsConfigurationForRowAtIndexPath:
).
I stumbled upon the same issue today. Found a possible solution in Apple's forums, but yeah, it seems like a real challenge to bring that to iOS11 and lesser versions at the same time.
Thanks for the link!
I think the best solution would be to improve the documentation and the demo project to show how to use this code for iOS 10 and below and the original Apple solution for iOS 11 at the same time?
What are your thoughts about that?
Thanks for the feedback @scheinem. I'm perfectly fine with that.
I haven't tested the linked solution yet. I'm not a iOS developer, but I do need to make a couple of fixes in an app that uses MSCMoreOptionTableViewCell
, so anything works for me at this point. 😉
Solved it by using the gist by @scheinem. Thanks a lot!