iOS - 像 iOS 5 横幅通知一样翻转动画
我想创建一个像 iOS 5 横幅通知一样的动画,但我不知道怎么做!
有什么帮助吗?我需要代码和一些解释!
I would like create an animation like the iOS 5 banner notifications, but i don't know how!
Any help? I need code and a little explanation!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
翻转也可以通过视图变换来完成。 这个答案给出了一个很好的例子。
为了能够像通知一样合并当前屏幕的元素,将需要更多的操作并获取当前的显示位。
A flip can also be accomplished via view transforms. This answer gives a good example.
To be able to incorporate elements of the current screen like the notification does will require more manipulation and grabbing the current display bits.