开发者

How to implement delete animation like iPhone's photo app

开发者 https://www.devze.com 2023-03-06 21:18 出处:网络
I have a button of UIBarButtonSystemItemTrash on my Navigation Bar, I want to implement a animation when I clicked that button, with trash open and view flies into the trash. Just like iPhone\'s Photo

I have a button of UIBarButtonSystemItemTrash on my Navigation Bar, I want to implement a animation when I clicked that button, with trash open and view flies into the trash. Just like iPhone's Photo or Mail app.

I realize there's such a question been asked on Jan 9 '09. But that one was answered by a private API. As I'm targeting App St开发者_如何转开发ore, it's there any safe way to make such animation after years?


The animation you are searching for is called Genie Effect and it does includes a Private API and hence der's no such way direct way to use it...

but may be u can create your own by using key frame Animation. :)

0

精彩评论

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