UISearchBar covers status bar
UISearchBar covers status bar
- Subject: UISearchBar covers status bar
- From: Rick Mann <email@hidden>
- Date: Mon, 01 Feb 2016 14:42:12 -0800
I've got a UISearchController that I present (presentViewController) as a result of the user tapping a button. When this hapens, the currently-display UINavigationBar slides up off the top of the screen, and the UISearchBar slides down, but it overlaps the status bar.
None of the answers on coming up in a google search seem to work or be the right way (e.g. setting edgesForExtendedLayout to .None, or actually adjusting the offset in the delegate; that seems terrible).
Is there a "correct" way (that also works)?
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden