0

我是新来的,我只是有一个关于在 iPhone 应用程序(如照片和邮件应用程序)中为垃圾桶图标设置动画的问题。我尝试使用此处的方法为 UINavigationController 工具栏中的垃圾桶图标设置动画,但它似乎没有做任何事情。

任何人都可以发布如何正确使用此方法的代码示例吗?谢谢

-(void)animateToolbarItemIndex:(NSUInteger)index duration:(NSTimeInterval)duration target:(id)target didFinishSelector:(SEL)selector;
4

1 回答 1

0

There is no

-(void)animateToolbarItemIndex:(NSUInteger)index duration:(NSTimeInterval)duration target:(id)target didFinishSelector:(SEL)selector;

method in the official SDK docs. It's likely a private method. Are you working with the official SDK or jailbroken phones?

于 2010-02-15T22:17:29.407 回答