I have a Tab Bar app with 4 views. One of the views (Notes) is a UITableView embedded in a UINavigationController (since the "note" UIViewController can show and edit cell details)
I have built all of this in the layout editor to avoid assumptions about segues and controllers. I have added Title and Image attributes to the relevant UIViewControllers (and in the case of the UITableView the UINavigationController.)
The Image and Title of the "Notes" tab shows up properly in the layout editor, and the other 3 tabs show up fine when the app runs, but when the app runs the title for the note tab is replaced with the string "item". The odd thing is that the Image shows up fine. If I segue straight to a UITableViewController it works - but of course I need a NavigationController for my TableView - so that's no help.
Here's the relevant XIB code:
<!--Notes Navigation-->
<scene sceneID="gSO-qG-y5n">
<objects>
<navigationController id="Q9R-oO-LQa" userLabel="Notes Navigation" sceneMemberID="viewController">
<tabBarItem key="tabBarItem" tag="1" title="Notes" image="Note" id="gFR-SE-gGB" userLabel="Notes"/>
<navigationBar key="navigationBar" contentMode="scaleToFill" id="oNo-5Q-VaO">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<connections>
<segue destination="SCr-y6-ymj" kind="relationship" relationship="rootViewController" id="vnz-pl-Fkb"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Bvb-jZ-wUu" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-523" y="2538"/>
</scene>
It's the title="Notes" tabBarItem attribute that's not being honored. image="Note" is being honored. It can't be a problem with the layout being corrupted since this XIB code looks perfect - so I'm stumped.
As I said - everything functions perfectly - it's just this title being displayed as "item" that's the problem.
In the meantime, I suppose I'm going to have to set the title in code. This is being developed in Swift with XCode 6.3.
Where would be a proper place to put this in my app?