修改iOS6.0bug

This commit is contained in:
wu736139669
2015-05-15 10:52:58 +08:00
parent 4490ed70e9
commit 3ca13ba657
4 changed files with 23 additions and 9 deletions
@@ -10,12 +10,11 @@
"scale" : "3x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "736h",
"filename" : "Default-568h@2x-4.png",
"minimum-system-version" : "8.0",
"orientation" : "landscape",
"idiom" : "iphone",
"extent" : "full-screen",
"minimum-system-version" : "8.0",
"subtype" : "736h",
"scale" : "3x"
},
{
Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

@@ -30,7 +30,22 @@
[_messageNav setTabBarItem:[[UITabBarItem alloc] initWithTitle:@"听你说" image:[UIImage imageNamed:@"tabbarVoice-dark"] selectedImage:[UIImage imageNamed:@"tabbarVoiceClick"]]];
[_myNav setTabBarItem:[[UITabBarItem alloc] initWithTitle:@"" image:[UIImage imageNamed:@"tabbarSetup-dark"] selectedImage:[UIImage imageNamed:@"tabbarSetupClick"]]];
[_myNav setTabBarItem:[[UITabBarItem alloc] initWithTitle:@"" image:[UIImage imageNamed:@"tabbarSetup-dark"] selectedImage:[UIImage imageNamed:@"tabbarSetupClick"]]];
}else{
UITabBarItem* item1 = [[UITabBarItem alloc] init];
[item1 setFinishedSelectedImage:[UIImage imageNamed:@"tabbarQuotationClick"] withFinishedUnselectedImage:[UIImage imageNamed:@"tabbarQuotation-dark"]];
item1.title = @"遇见你";
_noteNav.tabBarItem = item1;
UITabBarItem* item2 = [[UITabBarItem alloc] init];
[item2 setFinishedSelectedImage:[UIImage imageNamed:@"tabbarVoiceClick"] withFinishedUnselectedImage:[UIImage imageNamed:@"tabbarVoice-dark"]];
item2.title = @"听你说";
_messageNav.tabBarItem = item2;
UITabBarItem* item3 = [[UITabBarItem alloc] init];
[item3 setFinishedSelectedImage:[UIImage imageNamed:@"tabbarSetupClick"] withFinishedUnselectedImage:[UIImage imageNamed:@"tabbarSetup-dark"]];
item3.title = @"";
_myNav.tabBarItem = item3;
}
self.viewControllers = @[_noteNav, _messageNav, _myNav];
@@ -8,8 +8,8 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="159" id="KGk-i7-Jjw" customClass="MessageTableViewCell">
<rect key="frame" x="0.0" y="0.0" width="320" height="159"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="152" id="KGk-i7-Jjw" customClass="MessageTableViewCell">
<rect key="frame" x="0.0" y="0.0" width="320" height="155"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
@@ -234,7 +234,7 @@
<outlet property="totalTimeLabel" destination="37K-Qh-x5V" id="avn-f5-ucC"/>
<outlet property="userNameLabel" destination="hjS-Gz-Iqz" id="Jjo-vx-jJJ"/>
</connections>
<point key="canvasLocation" x="140" y="198.5"/>
<point key="canvasLocation" x="140" y="196.5"/>
</tableViewCell>
</objects>
<resources>