Why combined search bar and scope bar don't al

2019-08-24 06:17发布

First of all, quote form iOS User Interface Guidelines

When a search bar is present, a scope bar can appear near it. The scope bar displays below the search bar, regardless of orientation, unless you use a search display controller in your code (for more information on the way this works, see UISearchDisplayController Class Reference). When you use a search display controller, the scope bar is displayed within the search bar to the right of the search field when the device is in landscape orientation (in portrait orientation, it’s below the search bar).

My problem is search input field doesn't align with scope bar, as showed in the picture.

search input field doesn't align with scope bar

Anyone knows what causes this?

0条回答
登录 后发表回答