calimarkus / JDStatusBarNotification

Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC!
http://calimarkus.github.io/JDStatusBarNotification/documentation/jdstatusbarnotification
MIT License
4.22k stars 562 forks source link

iOS 13 状态栏由statusBarManager控制,会出现显示层级问题 #110

Closed northcity closed 4 years ago

northcity commented 5 years ago

有什么好的办法解决吗?

northcity commented 5 years ago
屏幕快照 2019-09-10 下午5 05 27
calimarkus commented 5 years ago
Screen Shot 2019-09-12 at 7 41 32 PM

Afaik iOS 13 renders the status bar in a separate process. Thus there's no way to put anything on top as you don't have access to the window.

northcity commented 5 years ago
Screen Shot 2019-09-12 at 7 41 32 PM

Afaik iOS 13 renders the status bar in a separate process. Thus there's no way to put anything on top as you don't have access to the window.

Does that mean the status bar popover won't work after iOS 13? Or is there an alternative? Is it ok to hide the status bar when popover?

yuratrotskyi commented 5 years ago

Hi @calimarkus would it be fixed for iOS 13?

calimarkus commented 5 years ago

I don’t have plans to fix it for iOS 13 currently. If anyone puts up a PR I’m happy to take a look, but it would need to behave significantly differently (e.g. hide the status bar during presentation and defer the sizing in a different way).

ezisazis commented 4 years ago

@calimarkus there is an open PR for fixing this issue. 💯

calimarkus commented 4 years ago

Merged 6fab99ab42a02a73505f80a21e0b8bc42e6f73c7!

yorkwang commented 4 years ago

It's not fixed on my project.

Auk513 commented 4 years ago

It's not fixed on my project. +1

calimarkus commented 2 years ago

@yorkwang / @Auk513 what are you seeing? This should be the current behavior on iPhones without a notch at the top:

Screen Recording

With Notch:

Screen Recording