UIView缩放动画
来源:互联网 发布:js 格式化日期 编辑:程序博客网 时间:2024/06/07 03:18
UIView *singleMapView = [[UIView alloc]initWithFrame:CGRectMake(10, 150, 300, 250)];
singleMapView.backgroundColor = [UIColor blackColor];
[self.view addSubview:singleMapView];
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1.2, 1.2);
}completion:^(BOOL finish){
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
}];
}];
singleMapView.backgroundColor = [UIColor blackColor];
[self.view addSubview:singleMapView];
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1.2, 1.2);
}completion:^(BOOL finish){
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
}];
}];
0 0
- UIView缩放动画
- UIView缩放的动画效果
- UIView大小缩放的动画效果函数
- iOS UIView简单的缩放动画效果
- UIView动画
- UIView 动画
- UIView动画
- uiview动画
- UIView动画
- UIView 动画
- UIView动画
- 动画 UIView
- UIView动画
- UIView动画
- uiview 动画
- UIView 动画
- UIView动画
- UIView动画
- JAVA基础之集合框架
- quartz 源码分析
- 解决VMware虚拟机按F2进入BIOS时间太短
- JavaScript从数组中删除指定值元素的方法
- Redis与Memcached的区别
- UIView缩放动画
- EventBus--在ecmobile中的应用
- Java学习笔记(33)----------java集合概念和作用
- iOS上传语音到服务器
- 欢迎使用Markdown编辑器写博客
- sql ,内连接,外连接,自然连接等各种连接
- android 获取农历日期和天干、地支
- iOS上传图片到服务器
- Web Service 的工作原理