Default source code, why is there a black area at the top?
Juhnkerg opened this issue · comments
Junkai Zheng commented
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
-
Hero Version: defult https://github.com/HeroTransitions/Hero.git
-
iOS Version(s): iOS 17.0
-
Swift Version: swift 5
-
Devices/Simulators: iPhone 15 pro
-
Reproducible in Examples? (Yes/No): Yes
Demo Project
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2023-10-27.at.00.14.14.mp4
Junkai Zheng commented
Junkai Zheng commented
Before present(vc, animated: true, completion: nil), need to set modalPresentationStyle = .currentContext or others except .formSheet