views:

588

answers:

2

I have a UISearchBar and UISearchDisplayController, everything works great but my scope selector displays beside the text field instead of below it. I know that this is the expected action when the device is in landscape, but since I have the UISearchBar in the master view of a UISplitViewController it ends up looking like this http://cl.ly/BN9

Is there any way to force the scope bar to display below the text field in all interface orientations (I know that this works nicely in Mail.app on the iPad, so its possibly, but who knows if Apple decided to hide the option to do so)

+1  A: 

This is not part of the public API. Hopefully it will be added in the future. It can be accomplished using Private APIs, looking through a UIKit class dump will help you there.

Good luck!

edit: Note that using private APIs can get you rejected from the app store, as most people already know.

logancautrell
A: 

is there any other possibilities? i have the same pb and i'm sure (hope!) it could be resolved simply thanks

Thierry
Don't answer with a question.
Alex Reynolds