星空网 > 软件开发 > 操作系统

【代码笔记】正方形转换

一,工程图。

【代码笔记】正方形转换images/loading.gif' data-original="http://images2015.cnblogs.com/blog/337518/201510/337518-20151022100253817-853334232.jpg" width="367" height="400" />

二,代码。

RootViewControlle.m

【代码笔记】正方形转换
//点击任何处,页面翻转-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{  FirstViewController *first=[[FirstViewController alloc]init];    CATransition *animation = [CATransition animation];  [animation setType:@"cube"];  [animation setSubtype:kCATransitionFromLeft];  [animation setDuration:1.0f];  [self.navigationController.view.layer addAnimation:animation forKey:@"test"];    [self.navigationController pushViewController:first animated:NO];  }
【代码笔记】正方形转换

 

 


 

原标题:【代码笔记】正方形转换

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

eBay:SpeedPAK暂停意大利部分地区包裹派送:https://www.ikjzd.com/articles/116495
Jumia延长国际卖家科技周大促报名时间:https://www.ikjzd.com/articles/116498
英国“脱欧”草案通过!跨境电商或将面临重大影响!:https://www.ikjzd.com/articles/11650
阿里国际站发布机械售后服务规范 为买家提供售后保障:https://www.ikjzd.com/articles/116500
Shopee免除部分退回件运费 为受疫情影响商户赋能:https://www.ikjzd.com/articles/116501
eBay:SpeedPAK意大利路向经济型方案运价调整:https://www.ikjzd.com/articles/116504
跨境支付百科——巴西支付篇:https://www.kjdsnews.com/a/1836648.html
大福地快捷酒店预订 大福酒店怎么走:https://www.vstour.cn/a/365187.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流