Navigation bar doesn't show back button - ios7

I have a navigation controller with a table full of buttons that cause various settings pages to push in. I needed to add a new one, so I copied one of my existing ones, changed the VC, and off I go.
But there's no nav bar on the screen. I can see the navigation object in the storyboard and the editor simulates it's display. I compared it to the other pages that are displaying the bar, and they look the same.
I tried changing some settings, like "Hide Bottom Bar On Push" and that had an effect, but my attempts to get the bar to show up fail.
I looked at other questions that suggested it had something to do with naming, but I've tried various name fields - on the Navigation Item, the VC's Title, etc. - with no effect.

I am not sure, but the problem may be that in case the segue to the new View Controller Scene is set to modal, it would not have a Nav Bar, To be able to see one, you need to embed that in another Navigation Controller.

Related

Storyboard with multiple UITabBarControllers

I have the following storyboard setup:
I would expect, that the two UITabBarControllers (blue and red) connecter to the orange UINavigationController and each display the different view controller and the "shared" one. However when running the app only one of the UITabBarControllers (the red one) has both view controllers. The other UITabBarController (blue) only has one item in the tab bar, which is not the orange one.
I have given all the different view controllers unique ID's but it doesn't change anything.
I could just duplicate the orange view controller but that would sort of be inconvenient, as everything is the same and it would clutter the storyboard.
Is there a way to accomplish the desired result with out cloning the orange view controller (ie. through code somehow)?
I will list the steps as we just started a new project:
Here, we have only the starting view controller.
select it, click Editor on menu bar Embed in navigator controller.
add a view controller from the right-bottom window.
embed in with the new view controller, two tab bars.
connect the starting view controller with both of the tab bars with a push segues(using buttons).
customise both of the tab bars.
test by clicking the two buttons.
I hope this is clear and helpful.
This happened in the design time the later connected tab bar replaces some property of the previously connected tab bar. I don't think this can be fixed (at least the way we are doing it). if that property could be set to both tab bars the interface builder would do it for us. I don't think that could be solved.

UISearchBar seems to disable UIBarButtonItems in Navigation and Toolbar under iOS7

I have a view controller with a navigation bar at the top and a toolbar at the bottom with a table view in the center. The table view has a search bar and scope bar. The user can use the search, or not. When done searching the user select items from the resulting list and then selects a button in the toolbar to move to the next view controller using a segue. Everything is constructed using storyboards. The layout, functionality and workflow works fine under iOS 6.
Under iOS 7 the layout, functionality, and workflow work fine w/o search (i.e., the user simply selects items from the table). The search mechanism also works fine, but the 'Done' button in the navigation bar, and the 'Select' button in the toolbar are disabled (i.e., the prepareForSegue method isn't entered). If I select cancel in the search bar the search results are lost but the workflow is again functional (i.e., the buttons are enabled and prepareForSegue is entered as expected).
I tried implementing the UISearchBar searchBarTextDidEndEditing and searchBarSearchButtonClicked methods and making sure they are invoked in the didSelectRowAtIndexPath method. These changes had no positive or negative effect. I also experimented with some of the features of the view controller, thinking that maybe the search results were in some way obscuring my navigation and toolbar buttons but that didn't work either.
I haven't found a reference to anyone else encountering this kind of problem.

uibutton dosnt respond to touch when at a location

Bit of a strange one.
I have a UIButton which works when located anywhere on the view except the top left hand corner when in landscape mode.
I have a navigation bar with a back button nested in the same area but when the the video enters full screen and playback state changes this navigation bar is hidden.
any ideas?
As thought, the problem was occuring due to the hidden navigation bar and the navigation item located in the same place.
The only solution i can find was to remove the navigation bar from superview then add it back when needed.
Your view's hierarchy is not properly configured. To properly configure your hierarchy, you need to navigate to either the xib or storyboard that you're working with, and re-order the button so that it's on top of anything that falls within it's similar bounds. A common example is that you added a UIView, which is clear, and you had the button underneath it, and now you can't interact with it even though you can't see it.

Bug with Tab Bar being covered by UITableView

So I have 3 main scenes, each with a tab bar item. The first scene (Account scene) contains a UITableView. Also on this scene I have a button which switches to a different scene that is NOT included on the tab bar.
ie. Account scene (which IS on tab bar) has button to link to Account Info page (which IS NOT on tab bar). This all works fine, but when I go back to the Account scene from the Account Info scene, the UITableView now is covering the Tab Bar (or the Tab Bar may have just disappeared altogether), so I can no longer access it and switch to different scenes.
Anyone else encountered something similar or know why this may be happening? If sample code is needed I can post some, but I did this mostly using storyboard.
Cheers,
Robin
Fixed. Was segue-ing to the view controller itself, instead of segue-ing to the TabBarController that handled the view. Limitation is that I can only segue back to the first tab bar view, which is kind of annoying but oh well.

Tab Bar application with a Navigation Controller but different tab bar on detail page

I've seen lots of tutorials on how to build a simple app with 2 tabs and a navigation controller - especially when there is a table view where you click a row to see details (and have built this myself). But most apps I've seen have the detail view such that either the tab bar disappears or there is another type of nav bar at the bottom. Does anybody know how to extend the basic navigation controller and tab bar to get it to work to get it to work like this?
Here is the answer to my question
How to hide parent tabbar when pushing controller in navigationController