Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UIToolbar - iPhone Development Wiki

UIToolbar

From iPhone Development Wiki
Revision as of 23:21, 4 November 2009 by KennyTM~ (talk | contribs) (Created page with '== Animating the trash can icon == {{function signature |signature=-(void)animateToolbarItemIndex:(NSUInteger)index duration:(NSTimeInterval)duration target:(id)target didFinishS…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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