我有颜色全部设为我希望他们用这种方式:调整范围条的圆形cornors在UISearchController酒吧
// Scope bar appearance
[[UISegmentedControl appearanceWhenContainedIn: [UISearchBar class], nil] setTintColor:[UIColor blueColor]];
[[UISegmentedControl appearanceWhenContainedIn: [UISearchBar class], nil] setBackgroundColor:[UIColor whiteColor]];
但我仍然得到白色透进来并且不是圆的。
见图片:
我该如何解决这个问题?谢谢。
我不想白色作为一个非圆边 – cdub