Lnpopupcontroller: Changing prefersStatusBarHidden value of a view controller that is presented as a popup content controller has no effect on views attached to topLayoutGuide/safeAreaLayoutGuide

Created on 26 Sep 2017  Â·  6Comments  Â·  Source: LeoNatan/LNPopupController

Description

Changing prefersStatusBarHidden value of a view controller that is presented as a popup content controller has no effect on views attached to topLayoutGuide/safeAreaLayoutGuide.

Steps to Reproduce

  1. Attach a subview to topLayoutGuide/safeAreaLayoutGuide
  2. Toggle prefersStatusBarHidden (without changing the device orientation) and call setNeedsStatusBarAppearanceUpdate
  3. Observe the status bar disappear together with the chevron while the subview stays
  4. After rotation, it fixes itself

Device, OS and Xcode Versions

iOS 11 and Xcode9

screen shot 2017-09-26 at 10 13 51 am

LNPopupController-2.5.0_sample.zip

bug needs investigation

All 6 comments

Hmm. Thanks for the report, will look soon.

Have you had any luck with this?

Unfortunately, I have not yet looked. A holiday is coming up here very soon, so I may be able to look then.

Found the issue and will push a fix in a few minutes.

Just a friendly reminder that hiding the status bar on iPhone X does not really make sense as the notch cannot hide also (if only… 😜). Nevertheless, the framework will support that scenario as well.

Thanks a lot!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chauhan130 picture chauhan130  Â·  8Comments

joaovbalmeida picture joaovbalmeida  Â·  9Comments

amosavian picture amosavian  Â·  7Comments

iKushalManiyar picture iKushalManiyar  Â·  4Comments

yetdog picture yetdog  Â·  8Comments