摘要: 介绍 iOS9引入了新特性App Transport Security (ATS)。新特性要求App内访问的网络必须使用HTTPS协议。但是现在很多项目使用的是HTTP协议,现在也不能马上改成HTTPS协议传输。那么如何设置才能在iOS9中使用Http请求呢 解决办法: Xcode7 在Info.p 阅读全文
posted @ 2016-03-31 16:46 torrescx 阅读(127) 评论(0) 推荐(0) 编辑
摘要: iPhone开发中从一个视图跳到另一个视图有三种方法: 1、self.view addSubView:view 、self.window addSubView,需要注意的是,这个方法只是把页面加在当前页面。此时在用self.navigationControler.pushViewController 阅读全文
posted @ 2016-03-31 09:45 torrescx 阅读(239) 评论(0) 推荐(0) 编辑
摘要: UIView.animateKeyframesWithDuration(2.0, delay: 0.0, options: UIViewKeyframeAnimationOptions.LayoutSubviews, animations: { () -> Void in UIView.addKeyframeWithRelativeStartTime(0.0, relat... 阅读全文
posted @ 2016-03-31 09:41 torrescx 阅读(209) 评论(0) 推荐(0) 编辑