• 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
Re: UISearchBar covers status bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UISearchBar covers status bar


  • Subject: Re: UISearchBar covers status bar
  • From: Rick Mann <email@hidden>
  • Date: Tue, 02 Feb 2016 13:58:48 -0800

> On Feb 2, 2016, at 13:42 , Peter Tomaselli <email@hidden> wrote:
>
> Isn't this just the thing (apologies, can't actually try it right now) where the easiest way to keep the status bar tidy when doing a modal presentation is to actually present your modal controller inside its own navigation controller, even if you don't plan on pushing anything onto it?
>
> Again, apologies if I'm missing any subtleties here. But the same problem of the status bar occurs on any modal presentation, right?

I considered that, particularly because I do, in fact, push items onto it. The problem is, then I have to manage the placement of the search bar myself. Although the docs are somewhat contradictory on the subject, they do say you can present a UISearchController directly modally. In this case, though, it's not placing the search bar in the right place. I was hoping this was the result of some incorrect configuration (there are several flags in UISearchBar and UISearchController, not to mention everything in UIView and UIViewController). But I can't seem to find the right configuration.

>
> On Tue, Feb 2, 2016 at 4:08 PM, Rick Mann <email@hidden> wrote:
>
> > On Feb 2, 2016, at 12:20 , Raglan T. Tiger <email@hidden> wrote:
> >
> >
> >
> >> On Feb 2, 2016, at 1:08 PM, Rick Mann <email@hidden> wrote:
> >>
> >> Apple really screwed the pooch with the status bar change in iOS 7; I've had nothing but problems with it ever since.
> >
> > Or, did Apple fix a screwed pooch and thus your app needs to be unscrewed by refactoring?
>
> Nope. Even brand-new apps still run into problems, as evidenced by this search bar issue I'm having.
>
>
>
> --
> 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
>


--
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


References: 
 >UISearchBar covers status bar (From: Rick Mann <email@hidden>)
 >Re: UISearchBar covers status bar (From: Alex Zavatone <email@hidden>)
 >Re: UISearchBar covers status bar (From: Rick Mann <email@hidden>)
 >Re: UISearchBar covers status bar (From: Alex Zavatone <email@hidden>)
 >Re: UISearchBar covers status bar (From: Rick Mann <email@hidden>)
 >Re: UISearchBar covers status bar (From: Alex Zavatone <email@hidden>)
 >Re: UISearchBar covers status bar (From: Rick Mann <email@hidden>)
 >Re: UISearchBar covers status bar (From: Alex Zavatone <email@hidden>)
 >Re: UISearchBar covers status bar (From: Rick Mann <email@hidden>)
 >Re: UISearchBar covers status bar (From: "Raglan T. Tiger" <email@hidden>)
 >Re: UISearchBar covers status bar (From: Rick Mann <email@hidden>)
 >Re: UISearchBar covers status bar (From: Peter Tomaselli <email@hidden>)

  • Prev by Date: Re: UISearchBar covers status bar
  • Next by Date: UIViews in SpriteKit Apps
  • Previous by thread: Re: UISearchBar covers status bar
  • Next by thread: UIViews in SpriteKit Apps
  • Index(es):
    • Date
    • Thread