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

Default source code, why is there a black area at the top? #767

Closed
Juhnkerg opened this issue Oct 26, 2023 · 2 comments
Closed

Default source code, why is there a black area at the top? #767

Juhnkerg opened this issue Oct 26, 2023 · 2 comments

Comments

@Juhnkerg
Copy link

What did you do?

Default source code, why is there a black area at the top?

What did you expect to happen?

I want to remove the black area at the top.

What happened instead?

Default source code, why is there a black area at the top?

General Information

Demo Project

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2023-10-27.at.00.14.14.mp4
@Juhnkerg
Copy link
Author

It seems to be caused by UIDimmingView, but I don't know how to fix it. lol
UIDimmingView

@Juhnkerg
Copy link
Author

Juhnkerg commented Oct 27, 2023

Before present(vc, animated: true, completion: nil), need to set modalPresentationStyle = .currentContext or others except .formSheet

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

1 participant