UISegmentedControl颜色问题-颜色在模拟器而非设备上显示正常 [英] UISegmentedControl Color Issue - Color Shows Fine on Simulator, Not on Device

查看:53
本文介绍了UISegmentedControl颜色问题-颜色在模拟器而非设备上显示正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已修复!

您不会相信的...这是一个Winterboard主题,弄乱了它!臭虫!禁用主题和瞧,效果完美.有问题的主题是"Ayecorn".不酷!希望这对遇到相同问题的其他人有所帮助.

对不起,谢谢您的投入!这里的社区很棒.

原始问题:

因此,在Xcode 4.5中有一个简单的测试iPhone应用程序:

通过Storyboard使用UISegmentedControl创建一个视图,并通过属性检查器设置颜色.

在模拟器上运行,颜色显示正常:

在设备上运行它,颜色为透明/透明.

(是的,在上面的示例中,我已经为各个段着色,但是我什至创建了一个新项目,在视图中添加了段控件(条形"),然后直通!

任何人都曾经经历过这种情况,并且已经提出了关于如何纠正这种情况的建议?

谢谢

解决方案

您不会相信的...这是一个Winterboard主题,弄乱了它!臭虫!禁用主题和瞧,效果完美.有问题的主题是"Ayecorn".不酷!

感谢所有输入人员!很棒的社区!

FIXED!

You won't believe it... It was a Winterboard theme messing with it! The bugger! Disabled theme and voila, works perfectly. The theme in question was "Ayecorn" for anyone interested. Not cool! Hope this helps anyone else who encounters the same issue.

Sorry folks, and thanks for all the input! Great community here.

Original Question:

So a simple test iPhone app in Xcode 4.5:

Create a view with a UISegmentedControl via Storyboard, and set the color via attributes inspector.

Run it on simulator, color shows fine:

Run it on device, color is see-thru/clear.

(Yes in this example above I have colored individual segments, but I even created a new project, added segment control to the view (Bar Type) and it came out see thru!? What gives?

Anyone experienced this before and have and advice on how to correct this?

Thanks

解决方案

You won't believe it... It was a Winterboard theme messing with it! The bugger! Disabled theme and voila, works perfectly. The theme in question was "Ayecorn" for anyone interested. Not cool!

Thanks for all the input guys! Great community here!

这篇关于UISegmentedControl颜色问题-颜色在模拟器而非设备上显示正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆