I'm building an app where I want a kind of reverse pull-to-refresh. There's no tableView involved but I would like to pull a UIButton to increase it's height and animate the label and other properties like the backgroundColor simultaneously - achieving the same effect seen with pull-to-refresh. I also need that rebound/bounce effect to emulate gravity.
A very good example of the desired behaviour is the iOS action center
One idea was to link the animateWithDuration of UIView up to a UIGestureRecognizer:
[UIView animateWithDuration: delay: usingSpringWithDamping: initialSpringVelocity: options: animations: completion:nil]
I'm using storyboards and autolayout. What would be the best approach to this?
Thanks!