I am working on app where I have some list of content shown with some buttons . I need a dock kind of animation when I touches the button , then clicking on the docked button event should be fired. when I touches another button this one should be docked . I have seen the following like http://praastitutki2012.wordpress.com/2009/11/23/mac-osx-dock-like-animation-for-iphone/ but , here I need to create a separate view for handling this . But I need this only for some of the buttons only , not for the entire view. Any suggestions ? Thanks in advance.
I didn't check in details the code you linked, but actually a UIButton
is a UIView
. You may consider subclassing UIButton
and implement those methods. This way, animating the whole view means animating the button.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.