Commit 48f0992f authored by Zach Knox's avatar Zach Knox
Browse files

titleView in the navigation bar getting a little better

parent ada59202
......@@ -2,7 +2,18 @@
"images" : [
{
"idiom" : "universal",
"filename" : "WhatsOpenHeader.pdf"
"filename" : "header.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "header@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "header@3x.png",
"scale" : "3x"
}
],
"info" : {
......
......@@ -15,7 +15,7 @@
<objects>
<tableViewController id="qgd-YS-8BQ" customClass="MainTableViewController" customModule="WhatsOpen" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="89" sectionHeaderHeight="28" sectionFooterHeight="28" id="kaY-rU-2In">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<rect key="frame" x="0.0" y="64" width="375" height="603"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
......@@ -89,7 +89,7 @@
</navigationItem>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/>
<connections>
<outlet property="mainNavigationBar" destination="DJn-4Y-j3Y" id="oia-mn-bB0"/>
<outlet property="mainNavigationBar" destination="DJn-4Y-j3Y" id="Mju-vB-oFP"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="d2o-5D-WNk" userLabel="First Responder" sceneMemberID="firstResponder"/>
......@@ -102,10 +102,10 @@
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="DGD-49-9Ue" sceneMemberID="viewController">
<toolbarItems/>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/>
<navigationBar key="navigationBar" contentMode="scaleToFill" barStyle="black" id="ulx-sh-XJ1">
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" barStyle="black" translucent="NO" id="ulx-sh-XJ1">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<color key="barTintColor" red="0.039215686274509803" green="0.396078431372549" blue="0.20784313725490194" alpha="1" colorSpace="calibratedRGB"/>
<color key="barTintColor" red="0.0" green="0.40000000000000002" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
<textAttributes key="titleTextAttributes">
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</textAttributes>
......
......@@ -15,8 +15,7 @@ class MainTableViewController: UITableViewController {
@IBOutlet var mainNavigationBar: UINavigationItem!
override func viewWillAppear(_ animated: Bool) {
mainNavigationBar.titleView = UIImageView(image: UIImage(named: "Navigation Bar TitleView"))
mainNavigationBar.titleView = UIImageView(image: #imageLiteral(resourceName: "Navigation Bar TitleView"))
}
override func viewDidLoad() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment