我已经创建了自己的 leftBarButtonItem:
UIBarButtonItem* homeButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemBookmarks
target:self
action:@selector(homeButtonClicked:)];
self.navigationItem.leftBarButtonItem = homeButton;
如何以编程方式恢复原始后退按钮功能?
最佳答案
self.navigationItem.leftBarButtonItem = self.navigationItem.backBarButtonItem;
关于iphone - 如何恢复 UINavigationController 中的后退按钮功能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3054330/