Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component not drawing over status bar anymore on iOS 13 #116

Open
ppamorim opened this issue Oct 21, 2019 · 7 comments
Open

Component not drawing over status bar anymore on iOS 13 #116

ppamorim opened this issue Oct 21, 2019 · 7 comments

Comments

@ppamorim
Copy link

ppamorim commented Oct 21, 2019

This component is not working anymore on iOS 13, I am trying to find a solution for this but can't see anything ideal to fix it.

Edit: The component will not work if your app uses UIScene.

@cculianu
Copy link

cculianu commented Oct 21, 2019

Yeah I have the same issue. I tried setting the .windowLevel on the internal notificationWindow instance that is used for the view -- to no avail.

It seems iOS 13 doesn't let you put any views or windows on top of the status bar!

I think this may be a bug in iOS 13.

I tried doing a quick "hide" of the status bar, then moving my app's window down 20 pix to "fake" it, then quickly unhide the status bar. This looks ok on iPhone -- but this produces weird results on iPad in windowed and/or split-screen mode for me.

If anyone found a workaround, would love to hear it.

@ppamorim
Copy link
Author

@cculianu
Copy link

Ok, thanks. I also added a backing set of screenshots and info to the post. Who knows -- maybe Apple will fix this. I consider this a bug in iOS, TBH.

Other projects that try to draw to the status bar area are also affected. Most of them implement a workaround by just avoiding the area now on iOS13.

Sad.

@ppamorim
Copy link
Author

@cculianu Mind that your comment is not visible, you will need to remove the link from them or fake it. Apple is not approving any comments with link...

@cculianu
Copy link

I put a link to the image... Oh so I need to have the image url just be in the message but not as an <img= tag?

Why do they even enable HTML images then? LOL

It says "being moderated" -- I take it .. it will never get moderated?

@cculianu
Copy link

Ok. Fixed. Thanks for the tip.

@ppamorim
Copy link
Author

Yes it never gets moderated...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants