LeoNatan / LNPopupController

A framework for presenting view controllers as popups of other view controllers, much like the Apple Music and Podcasts apps.
MIT License
3.03k stars 340 forks source link

prefersHomeIndicatorAutoHidden not called #566

Closed mmdumi closed 6 months ago

mmdumi commented 6 months ago

Describe the Bug I'm trying to control the home indicator appearance when presenting a controller from inside LNPopupController framework.

To Reproduce I've attached a sample project to easily test this behaviour.

  1. In ViewController line: 31 - if you call presentPopupBar you will see that prefersHomeIndicatorAutoHidden inside PresentedViewController is NOT called
  2. In ViewController line: 32 - if you call present(controller you will see that prefersHomeIndicatorAutoHidden inside PresentedViewController IS called correctly

Additional Context Uploaded sample project. Test.zip

Thank you

LeoNatan commented 6 months ago

Hello,

Indeed, this is a use case I have not looked into. Will try to provide it soon.

Thanks

LeoNatan commented 6 months ago

2.18.7