简体   繁体   English

为什么在iOS 6.0中,条形按钮项的颜色会发生变化?

[英]Why Bar button item tint color changing in ios 6.0?

I am making my application support both iOS 6 and iOS 7 . 我正在使我的应用程序同时支持iOS 6和iOS 7。 I am using Xcode 5 with iOS 7 SDK. 我将Xcode 5与iOS 7 SDK结合使用。

When I create the storyboard, the buttons in the navigation bar are in iOS 7 style. 创建故事板时,导航栏中的按钮为iOS 7样式。

But when I run it in iOS 6.0, it shows tint color in the background as following. 但是,当我在iOS 6.0中运行它时,它会在背景中显示色调,如下所示。 I want the iOS 7 style in iOS 6. Is there any way to do that? 我想要iOS 6中的iOS 7样式。有没有办法做到这一点?

在此处输入图片说明

在此处输入图片说明

Yes You can make Navigation bar in iOS 6 look like Navigation bar in iOS 7 是的,您可以使iOS 6中的导航栏看起来像iOS 7中的导航栏

Just Go To This link : 只需转到此链接:

Navigation bar in iOS 6 look like bar in iOS 7 iOS 6中的导航栏看起来像iOS 7中的栏

And for more information Just Follow Apple documentation for iOS 7 UI Transition Guide 有关更多信息,请遵循iOS 7的Apple文档UI过渡指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM