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
Question: Is there a way to keep the status bar displayed? #132
Comments
Same issue here. Love all the work you do Ivan. Keep it up man. |
Hi @alanpridestar & @JCsplash! Sorry for delay, I am very busy with a new project. |
Hi Ivan, Sorry I did not notice this until now. I was able to recreate the issue. I believe that it happens when you have a view directly attached to the top of the safe area, and then other views attached to the bottom of that. I have added a small Demo here and I noticed that if i removed the top most view (the grey one), then the large middle view does not push downwards. But in the case of the demo I've uploaded then the status bar pushes the views downwards. Have a look and let me know your thoughts. It's probably best to build this on an iPhone 8 sized device/simulator because it will start with a gap between the middle and bottom view, which will then be removed. Thanks, |
@alanpridestar yes, I see it. There are two solutions: enable the status bar forever, or configure it in delegate. |
Sorry I didn't get what you mean exactly. How can i enable the status bar forever? Thanks, |
@alanpridestar I prepare two solution
maybe 2? |
Yes I understand, it works Thanks again |
Good. I will then soon add a new parameter in the delegate |
I am added new parameter in datasource. Set Thanks and sorry for delay! |
Thanks @alanpridestar for creating the example. And thanks @ivanvorobei for working so quickly! |
Also agree, thanks @alanpridestar ) |
Hi,
Firstly I must say your project is great and extremely handy. Really appreciate your work.
I wanted to ask about the status bar and it's animation in the app. I will provide some screenshots to illustrate what i mean.
As you can see in the first screen shot, I show the SPPermissionDialog on top of a Video Recording View Controller i've set up. In the second screen shot, once the dialog has stopped showing, the status bar pushes my top most views down a bit and suddenly my camera preview view is overlapping with my record button.
I have tried to relayout the subviews once the didHide() function is called in the SPPermissionDialogDelegate, and I have tried to set prefersStatusBarHidden to false in the SPPermissionDialogController code, but both of these haven't helped. I've also gone through the Controller code and found where you are operating on or with the status bar and tried to set the value to statically keep the status bar showing, but that also hasn't worked.
I was wondering if you have any suggestions on how I can deal with this scenario.
Thank you,
Alan
The text was updated successfully, but these errors were encountered: