开发者

how to fake the built-in application switch animation?

开发者 https://www.devze.com 2023-03-20 03:54 出处:网络
I have two views in my app and I want to switch them foreground or background with animation. I like the way iOS does it when I fast-switch between applications (double tap the home button and tap any

I have two views in my app and I want to switch them foreground or background with animation. I like the way iOS does it when I fast-switch between applications (double tap the home button and tap any app).

Is it possible to use that animation directly? (It's OK if it's private, I am not selling my app, just for study purpose.开发者_C百科)

If not, is there a way to implement that animation myself? References or examples are very much appreciated!

Thanks in advance.

Leo


Yes. It's possible and it's not private. Here you go https://github.com/Split82/HMGLTransitions

0

精彩评论

暂无评论...
验证码 换一张
取 消