title: Trash can icon animation?
body: <p>I'm new here and I just had a question about animating the trash can icon in an iPhone application like in the photo and mail app. I tried using the method <a href="http://www.iphonedevwiki.net/index.php/UIToolbar" rel="nofollow noreferrer">here</a> to animate the trash icon in a UINavigationController's toolbar, but it didn't seem to do anything.</p>
  
  <p>Can anyone post a code sample of how to use this method correctly? Thanks  </p>
  
  <pre><code>-(void)animateToolbarItemIndex:(NSUInteger)index duration:(NSTimeInterval)duration target:(id)target didFinishSelector:(SEL)selector;
  </code></pre>