问题
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
回答1:
What about "automatic"? That's what's always looking good for me.
回答2:
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:
回答3:
Using "Textured Square" worked best for me.
来源:https://stackoverflow.com/questions/7533285/rounded-textured-segmented-control-style-deprecated-in-osx-10-7-what-should-i-u