• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UISearchBar covers status bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: UISearchBar covers status bar
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: CIFilter applied to AVCaptureVideoPreviewLayer causes errors in the log for every frame!
  • Next by Date: Re: UISearchBar covers status bar
  • Previous by thread: CIFilter applied to AVCaptureVideoPreviewLayer causes errors in the log for every frame!
  • Next by thread: Re: UISearchBar covers status bar
  • Index(es):
    • Date
    • Thread