Custom Force Touch Gesture in iOS
Ok, then — Force touch. Starting off, I had no idea, how and when to handle this. Initially, I thought about using the default way of handling a Force Touch, but this case turned out somewhat specific therefore I resulted to going in for a custom implementation of a UIGestureRecognizer.
The end goal here was to have the ability to force touch a specific UICollectionViewCell and have a simultaneous animation for background dimming and the two action icons expanding from the touch point, so to achieve this a custom approach was developed.
The protocol
So, it all started off with a protocol, that works as our back and forth between the gesture actions… read full article on chililabs.io