开发者

bottom to top animation example

开发者 https://www.devze.com 2023-01-16 02:15 出处:网络
I need to show the next image with bottom up animation in uiviewcontroller. H开发者_开发知识库ow can i do it?

I need to show the next image with bottom up animation in uiviewcontroller.

H开发者_开发知识库ow can i do it?

Thanks in advance.


Set the next images' frame to below the current one (just off screen), then in an animation block, change its frame to take the place of the other image view, at which point you can remove the old image view from its superview.

0

精彩评论

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