Permalink
Browse files

Change navigation bar tint colour from default to display correctly i…

…n 7.0 simulators
  • Loading branch information...
1 parent ee39417 commit d1ebf3cadd4add3cd284636866f83ecaedf0ae19 @GouriKumari GouriKumari committed Feb 26, 2014
Showing with 23 additions and 39 deletions.
  1. +5 −0 AppPrefs/AppPrefs.csproj
  2. +8 −8 AppPrefs/Info.plist
  3. +10 −31 AppPrefs/MainStoryboard.storyboard
@@ -22,6 +22,9 @@
<ConsolePause>False</ConsolePause>
<MtouchLink>None</MtouchLink>
<MtouchDebug>True</MtouchDebug>
+ <MtouchI18n>
+ </MtouchI18n>
+ <MtouchArch>ARMv7</MtouchArch>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>none</DebugType>
@@ -43,6 +46,8 @@
<ConsolePause>False</ConsolePause>
<MtouchDebug>True</MtouchDebug>
<CodesignKey>iPhone Developer</CodesignKey>
+ <IpaPackageName>
+ </IpaPackageName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
View
@@ -4,14 +4,14 @@
<dict>
<key>CFBundleIconFiles</key>
<array>
- <string>Resources/icon-57.png</string>
- <string>Resources/icon-114.png</string>
- <string>Resources/icon-72.png</string>
- <string>Resources/icon-144.png</string>
- <string>Resources/icon-29.png</string>
- <string>Resources/icon-58.png</string>
- <string>Resources/icon-50.png</string>
- <string>Resources/icon-100.png</string>
+ <string>Resources/icon-57.png</string>
+ <string>Resources/icon-114.png</string>
+ <string>Resources/icon-72.png</string>
+ <string>Resources/icon-144.png</string>
+ <string>Resources/icon-29.png</string>
+ <string>Resources/icon-58.png</string>
+ <string>Resources/icon-50.png</string>
+ <string>Resources/icon-100.png</string>
</array>
<key>UIMainStoryboardFile</key>
<string>MainStoryboard</string>
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4510" systemVersion="12E3067" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" promptedForUpgradeToXcode5="NO" initialViewController="2">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4514" systemVersion="12E4022" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="2">
<dependencies>
- <deployment defaultVersion="1280" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
+ <deployment defaultVersion="1792" identifier="iOS"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/>
</dependencies>
<scenes>
<!--App Prefs View Controller-->
@@ -18,7 +18,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
- <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="10" opaque="NO">
+ <tableViewCell opaque="NO" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="10">
<rect key="frame" x="0.0" y="22" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="10" id="B3e-Jb-tuS">
@@ -30,9 +30,10 @@
</tableViewCell>
</prototypes>
</tableView>
- <navigationBar contentMode="scaleToFill" id="6" translucent="YES">
+ <navigationBar contentMode="scaleToFill" id="6">
<rect key="frame" x="0.0" y="11" width="320" height="44"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinX="YES" flexibleMaxY="YES" flexibleMinY="YES"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
+ <color key="barTintColor" red="0.33250752420000002" green="0.67750026299999999" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<items>
<navigationItem title="AppPrefs" id="7">
<barButtonItem key="rightBarButtonItem" title="Info" id="8">
@@ -42,8 +43,6 @@
</barButtonItem>
</navigationItem>
</items>
- <inset key="insetFor6xAndEarlier" minX="0" minY="0" maxX="0" maxY="0"/>
- <color key="barTintColor" colorSpace="calibratedRGB" red="1" green="1" blue="1" alpha="1"/>
</navigationBar>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
@@ -66,6 +65,8 @@
<navigationBar contentMode="scaleToFill" id="15">
<rect key="frame" x="0.0" y="11" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+ <color key="barTintColor" red="0.33250752420000002" green="0.67750026299999999" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<items>
<navigationItem title="AppPrefs" id="16">
<barButtonItem key="rightBarButtonItem" title="Done" id="17">
@@ -75,8 +76,6 @@
</barButtonItem>
</navigationItem>
</items>
- <color key="backgroundColor" colorSpace="calibratedRGB" red="1" green="1" blue="1" alpha="1"/>
- <color key="barTintColor" colorSpace="calibratedRGB" red="1" green="1" blue="1" alpha="1"/>
</navigationBar>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="This sample demonstrates how to use application settings from the settings in the system application." lineBreakMode="wordWrap" numberOfLines="5" minimumFontSize="10" id="22">
<rect key="frame" x="20" y="70" width="280" height="86"/>
@@ -114,24 +113,4 @@
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer>
- <resources>
- <image name="Images/Image58.png" width="58" height="58"/>
- <image name="Images/Image29.png" width="29" height="29"/>
- <image name="icon-29.png" width="29" height="29"/>
- <image name="icon-50.png" width="50" height="50"/>
- <image name="icon-58.png" width="58" height="58"/>
- <image name="icon-100.png" width="100" height="100"/>
- <image name="iTunesArtwork@2x.png" width="1024" height="1024"/>
- <image name="Default-568h@2x.png" width="640" height="1136"/>
- <image name="Default-Landscape@2x~ipad.png" width="2048" height="1496"/>
- <image name="Default-Landscape~ipad.png" width="1024" height="748"/>
- <image name="Default-Portrait@2x~ipad.png" width="1536" height="2008"/>
- <image name="Default-Portrait~ipad.png" width="768" height="1004"/>
- <image name="Default.png" width="320" height="480"/>
- <image name="Default@2x.png" width="640" height="960"/>
- <image name="icon-57.png" width="57" height="57"/>
- <image name="icon-114.png" width="114" height="114"/>
- <image name="icon-144.png" width="144" height="144"/>
- <image name="icon-72.png" width="72" height="72"/>
- </resources>
-</document>
+</document>

0 comments on commit d1ebf3c

Please sign in to comment.