iphone - can't set right button of UITabBarController's moreNavigationController -


I have a very strange problem where I can set all the attributes of innovation controller a UITabBarController except right Brbtnitm property I am I am guessing that it is likely caused by a bug all rights related to optimization Drishykantrolr property bar button item can be disabled. How to fix any idea?

  UIBarButtonItem * doneButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem: UIBarButtonSystemItemDone goal: self action: @selector (popViewController)]; Self.customizableViewControllers = Zero; Selfkmorenvigtioncontrolrknvigeshnbrkberstyle = Uiberstyleblk; Selfkmorenvigtioncontrolrktopvievkantrolrknvigtionitemktaitl = @ "Test"; // It works automatically. More control controller Cap view controller Navigation Itam Bambattinitan = Button; // It works automatically. More innovation controllers Cap view controller Navigation Itam Right Burton Itam = Logged button; // it does not    

OK, the solution uses the representative of more navigation controllers Navigation Controller: (UINavigationController *) NavigationControl Controller: (UIViewController *) ViewController Animated: (BOOL) animated {viewController.navigationItem.rightBarButtonItem = doneButton; }

Comments