@
Livid navigationItem 不是只读的吗?
我是在viewController的loadView里这样:
self.navigationController.navigationBar.topItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh handler:^(id sender) {
NSLog(@"refresh");
}];