更改frame的动画效果
来源:互联网 发布:淘宝网玩具飞机 编辑:程序博客网 时间:2024/06/11 20:45
转载自:http://hi.baidu.com/wwssttt/item/a74736506ead3adbd48bacd5
//开始动画。在此之前设定好要做动画效果的view的frame
[UIView beginAnimations:nil context:nil];
//
设定动画出现方式
[UIViewsetAnimationCurve:UIViewAnimationCurveEaseInOut];
//设定动画持续时间
[UIView setAnimationDuration:2];
[UIView setAnimationDelegate:self];
//设定动画效果
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:myview cache:YES];
//动画的内容
contentImageV.frame=CGRectMake(contentImageV.frame.origin.x,contentImageV.frame.origin.y+100,
contentImageV.frame.size.width,contentImageV.frame.size.height);
//or
contentImageV.frame.y = contentImageV.frame.origin.y+100;
//动画结束
[UIView commitAnimations];
- 更改frame的动画效果
- 更改pushViewController和popViewController的动画效果
- 更改pushViewController和popViewController的动画效果
- 更改pushViewController和popViewController的动画效果
- 更改pushViewController和popViewController的动画效果
- 动画效果二 ----Frame Animation
- [Firemonkey]Frame动画滑动效果
- Animation动画效果之Frame动画
- frame动画的实现
- frame动画的实现
- Android动画Animation之Frame实现类似电影的动画效果
- 更改pushViewController和popViewController的动画效果(转)
- androd frame动画效果(转载)
- android frame by frame AnimationDrawable 实现动画效果
- Android动画效果之Frame Animation(逐帧动画)
- Android动画效果之Frame Animation(逐帧动画)
- Android动画效果之Frame Animation(逐帧动画)
- Android动画效果之Frame Animation(逐帧动画)
- ffmpeg中available filter
- Android Studio入门体验
- char c[5]="hello"和char *p="hello"区别
- Android Drawable、Bitmap、Canvas和Paint的区别
- 高并发高流量网站架构(互联网产品)
- 更改frame的动画效果
- Configure参数解析
- 如何删除link-local(169.255.0.0) 路由表项
- JAVA多态成员特性
- 必须声明元素类型 "hibernate-mapping"
- ICE Manual(Documentation for Ice 3.5)---The Ice Protocol(与IIOP对比)
- linux ar命令
- 第5章 数组和广义表—矩阵的快速转置
- Boost Installation