iphone - Navigation controller doesnt add back button -
i have view pushes new view onto screen.
when new view shown, there no button in navigation controller.
i have following in 1 view
and push new view using following code
[photoviewcontroller setasset:[assets objectatindex:(cell.rownumber * 4) + index]]; [[self navigationcontroller] pushviewcontroller:photoviewcontroller animated:yes]; [photoviewcontroller release];
when view appears following visible
how add button , add same share button bar in second view?
thanks. :)
you need set title in first view. button uses title of previous view. if 1 not set button not displayed.
in viewdidload method of first view, use self.title = @"title";
Comments
Post a Comment