当我构建我的应用程序时,会出现警告,表明我的UISegmentedControlStyleBezeled已被弃用.没有其他类型的UISegmentedControl看起来靠近Bezeled,所以我不知道我可以用什么而不是它.我需要像UISegmentedControlStyleBar这样的东西,但具有更高的高度.
此外,在UISegmentedControl.h中显示这个…
typedef enum { UISegmentedControlStylePlain,// large plain UISegmentedControlStyleBordered,// large bordered UISegmentedControlStyleBar,// small button/nav bar style. tintable UISegmentedControlStyleBezeled,// DEPRECATED. Do not use this style. } UISegmentedControlStyle;