Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 731
rytis Avatar asked Sep 23 '11 18:09

rytis


3 Answers

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

like image 102
Christian Beer Avatar answered Nov 07 '22 19:11

Christian Beer


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:

enter image description here

like image 1
trojanfoe Avatar answered Nov 07 '22 19:11

trojanfoe


Using "Textured Square" worked best for me.

like image 1
Chuck H Avatar answered Nov 07 '22 20:11

Chuck H