You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add some Hero beautiful transitions between 2 controllers. The destination controller isn't completely opaque (alpha = 0.9), to let you see the original controller behind.
In this case, here are segue parameters: Kind: present modally Presentation: Over current Context Transition: Default
But using Hero set self.view.alpha to 1.0 at the end of the transition.
I just added Hero on a button, with the following modifier: zPosition(2)
Is it possible to keep some transparency using Hero?
Thanks!
The text was updated successfully, but these errors were encountered:
Tibb
changed the title
When Hero enabled, the self.view.alpha is always 1
When Hero enabled, self.view.alpha is always 1
Jan 10, 2017
Hero shouldn't have set the view's alpha to 1. But might be a bug. Nonetheless, it is complicated. The current cross fade strategy doesn't work with alphas. I have to spent some time experimenting with other way of creating cross fade effects.
I wanted to add some Hero beautiful transitions between 2 controllers. The destination controller isn't completely opaque (alpha = 0.9), to let you see the original controller behind.
In this case, here are segue parameters:
Kind:
present modally
Presentation:
Over current Context
Transition:
Default
But using Hero set
self.view.alpha
to1.0
at the end of the transition.I just added Hero on a button, with the following modifier:
zPosition(2)
Is it possible to keep some transparency using Hero?
Thanks!
The text was updated successfully, but these errors were encountered: