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.

results

bar button

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

Popular posts from this blog

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -