ios - Adding button bar from navigation to Table View Controller - Obj C -
hey guys trying add button bar navigation uitableviewcontroller. when go add bar button items navigation never shows when run app.


not sure why when start button bar not show?
okay figured out, because of root class of table view not show bottom navigation bar. because custom class added following code:
bottomnav = [[uinavigationbar alloc] initwithframe:cgrectmake(0.0, self.view.frame.size.height - 20, self.view.frame.size.width, 44.0)]; bottomnav.barstyle = uibarstyleblackopaque; [self.parentviewcontroller.view addsubview:bottomnav]; within custom method , worked perfectly!
Comments
Post a Comment