-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
No transparent view in precent VC #149
Comments
Try 0.3.4 and see if it fixes it. For your second question:
|
@lkzhao Seems it still not working with 0.3.6 version. Thanks for the Hero.
But this code works if
|
Hey, I have the exact same problem. How to fix? |
Why is it closed, it's still happening. |
@lkzhao Is there something to do to avoid black background while presenting view controller over current context ? As @MaeseppTarvo & @EquaI1ty explained, only |
works with present but if you use push it is still black for transparent areas |
@ergunkocak Thank you!!!!! Setting the presented controller's background to .clear before viewDidLoad() (either right before present(), or inside init() in presented VC) and also .modalPresentationStyle to .overCurrentContext finally got rid of the ending black background for me. |
I am facing this issue in .overCurrentContext presentation style in iOS 13.3 using heroModalAnimationType .fade animation. |
I am facing the same issue (presenting a controller with .zoom and wanting a transparent background) but its not possible still. If i reopen the issue would someone look into it? ps great library btw! |
I have the dame problema today |
Following is my code, second view transparent is only worked with Hero default animation (fade in). If I used other animation, alpha become 1 I think.
Btw, how to set same effect on dismiss also?
I used default code dismiss(animation, completion)
but only fade out effect worked.
Thanks for this Hero library.
The text was updated successfully, but these errors were encountered: