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

OverFullScreen problem #756

Open
Samueleuf opened this issue Feb 15, 2023 · 3 comments
Open

OverFullScreen problem #756

Samueleuf opened this issue Feb 15, 2023 · 3 comments

Comments

@Samueleuf
Copy link

Hi,
Presenting a navigation controller with:
Background clear
ModalPresentationStyle = overFullScreen

The vc under the new vc is black when I move the upper vc, disabling hero I see it correctly if I move the upper

@BlackCatHehe
Copy link

Any sulotions? I have the same question

@Samueleuf
Copy link
Author

navigation.hero.modalAnimationType = .selectBy(presenting: .fade, dismissing: .none) navigation.hero.navigationAnimationTypeselectBy(presenting: .push(direction: .left), dismissing: .pull (direction: right))
navigation.modalPresentationStyle = .overFullScreen
navigation.modalPresentationCapturesStatusBarAppearance = true
navigation.view.isOpaque = false
navigation.view.backgroundColor = .clear

@cruisediary
Copy link

How about trying to use useNoSnapShot? The useNoSnapShot modifier does not create a black snapshot.

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

3 participants