There are warnings when I build my app indicating my UISegmentedControlStyleBezeled is deprecated. There are no other types of UISegmentedControl that looks close to the Bezeled one so I don’t know what I can use instead of it. I need something like UISegmentedControlStyleBar but with more height.
Moreover, looking in UISegmentedControl.h reveals this…
typedef enum {
UISegmentedControlStylePlain, // large plain
UISegmentedControlStyleBordered, // large bordered
UISegmentedControlStyleBar, // small button/nav bar style. tintable
UISegmentedControlStyleBezeled, // DEPRECATED. Do not use this style.
} UISegmentedControlStyle;
For the moment, the work around I use is using UISegmentedControlStyleBar and increase its frame height. You might also want to keep the same center as well to avoid it expanding down.