Question

I am working on an app which supports on iOS6 & iOS7. The UITableViewCell swipe and delete functionality is working fine in both directions (Right To Left, Left To Right) on iOS6. But on iOS7, only One direction(Right To Left) is working. Is APPLE removed that supportability? or i need to add any small code for that? or Need to overwrite the swipe functionality for UITableViewCell?

Any comments or suggestions would be appreciated.

Thank you in advance.

Was it helpful?

Solution

Apple removed the ability to swipe left for deletion in iOS 7, and if you think about the difference between the delete buttons in 6/7 and how they appear in the cell this makes a lot of sense.

And yes, if you really want to add the left gesture just subclass the cell and add a left swipe gesture.

OTHER TIPS

The delete swipe is from that direction in iOS7, you can create your own gesture recogniser if you want that functionality.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top