(Created page with '== Animating the trash can icon == {{function signature |signature=-(void)animateToolbarItemIndex:(NSUInteger)index duration:(NSTimeInterval)duration target:(id)target didFinishS…') |
(No difference)
|
Revision as of 23:21, 4 November 2009
Animating the trash can icon
Signature | -(void)animateToolbarItemIndex:(NSUInteger)index duration:(NSTimeInterval)duration target:(id)target didFinishSelector:(SEL)selector; |
---|---|
Available in | 3.0 – |
You can use the -[UIToolbar animateToolbarItemIndex:duration:target:didFinishSelector:] method to animate the trash can icon (UIBarButtonSystemItemTrash). The first call will open the trash can, and the second call closes it.
References
- Official reference: UIToolbar
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UIToolbar2.h