0
我添加了一个按钮,我的导航栏,如下所示:按下的UIBarButtonItem上NavigationController
UIBarButtonItem *anotherButton = [[UIBarButtonItem alloc] initWithTitle:@"Edit" style:UIBarButtonItemStylePlain target:self action:@selector(methodtocall:)];
self.navigationItem.rightBarButtonItem = anotherButton;
[anotherButton release];
然而,当我按下此,我收到了InvalidArgumentException。这是一个全新的导航项目。有谁知道我为什么得到这种行为?
我们可以看到您的操作方法吗? – 2010-06-15 14:41:24