开发者

Rounded Textured Segmented control style deprecated in OSX 10.7? What should I use?

I'm getting this warning message when I try using "Segmented control" with style "Rounded Textured".

It is the default style in Interface Builder, so I wonder why is it complaining?

If I set to any other style, the warning goes away. But I want to use this style, so 开发者_运维百科that it matches other controls in the task bar.

OSX10.7 / XCode 4.1


What about "automatic"? That's what's always looking good for me.


I've just hit this issue and the suggested fix of using "Automatic" doesn't work for me. I managed to fix it by setting the Deployment Target of the .xib to 10.6. My project's target deployment is already 10.6, so it should have been anyway.

Don't forget to unset "Use Auto Layout" if you actually want to run your App on 10.6, else it will throw an exception:

Rounded Textured Segmented control style deprecated in OSX 10.7? What should I use?


Using "Textured Square" worked best for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜