隐藏navigationItem的leftBarButtonItem和rightBarButtonItem

self.navigationItem.hidesBackButton = YES;  
self.navigationItem.rightBarButtonItem.customView.hidden = YES;

你可能感兴趣的:(隐藏navigationItem的leftBarButtonItem和rightBarButtonItem)