A collection of iOS7 animation controllers and interaction controllers, providing flip, fold and all kinds of other transitions.
4.55k
stars
617
forks
source link
Proper way to get the direction of pan gesture recognizer #9
Closed
devangmundhra closed 10 years ago
Hi,
In the
HorizontalInteractionController
, the direction of theUIPanGestureRecognizer
is found by:However, I think with this way, a pan gesture will always start with a translation of 0. The correct way to get the direction would be-