
iOS 7
文章平均质量分 78
fyn6417
这个作者很懒,什么都没留下…
展开
-
iOS 7 之 Sprites
话不多说 直接上图 懒得翻译了 会点英语的应该都能看个八九不离十了#import"MyScene.h"@implementationMyScene-(id)initWithSize:(CGSize)size{if(self= [superinitWithSize:size]) {se原创 2013-10-09 15:35:56 · 1289 阅读 · 0 评论 -
iOS 7 之Airdrop 分享Plain text and attributed string data
接上一篇 先介绍分享文字的 地址点击打开链接OpenStringViewController.mand modify it as shown below. Each line notedbelow should be added to the top of the appropriate method:原创 2013-10-18 21:39:41 · 1954 阅读 · 0 评论 -
iOS 7 What’s New in AV Foundation之二维码扫描(上)
iOS 7 brings even more improvements to AV Foundation, such as:•Barcode reading support•Speech synthesis•Improved zoom functionality Getting Started打开Xcode 创建一个新工程 选择iOS\Applica原创 2013-10-18 20:00:03 · 3478 阅读 · 0 评论 -
iOS 7 之Airdrop 分享 URLs ,Media and Documents
Sharing URLs OpenURLViewController.mand modify the implementation as shown below: - (void)loadURL:(NSURL*)URL{self.objectsToShare=@[URL];... the原创 2013-10-18 21:57:32 · 1305 阅读 · 0 评论 -
iOS 7 之Airdrop 分享
iOS 7 introduces a new easy to use way to share your data with nearby devicescalledAirDrop 用过mbp的都应该知道苹果有个比较好用的文件共享组件Airdrop 随着新系统的发布Airdrop也登陆了iPhone上 遗憾的是只有5和5S上又这个功能原创 2013-10-18 21:23:31 · 2486 阅读 · 0 评论 -
iOS 7 What’s New in AV Foundation之二维码扫描(下)
Drawing overlaysThe bounds metadata defines a rectangle that exactly contains the image, while thecorner metadata defines the coordinates of the image’s corners. The diagram belowdisplays the diff原创 2013-10-18 20:43:20 · 3508 阅读 · 4 评论 -
iOS 7 What’s New in AV Foundation之二维码扫描(中)
接上文英语不是很好有些专业的东西还是不给翻译了 自己百度吧没有太多难懂的东西 慢慢来对了 声明一下 这两篇的内容都是官方文档上弄来的 鸟悄的啊 我也是花钱买的 我是觉得写得真心好才共享给大家的Detecting machine readable codesIn addition to processing and displaying video,原创 2013-10-18 20:21:48 · 3127 阅读 · 0 评论 -
ios7毛玻璃效果实现
首先看效果: 核心代码:[cpp] view plaincopyprint?//加模糊效果,image是图片,blur是模糊度 - (UIImage *)blurryImage:(UIImage *)image withBlurLevel:(CGFloat)blur { //转载 2013-09-27 11:01:07 · 2109 阅读 · 0 评论 -
iOS 7开发之NSURLSession vs NSURLConnection
通过一个简单的联网获取JSON数据并将其解析 举个例子 获取伦敦的天气数据NSString*londonWeatherUrl =@"http://api.openweathermap.org/data/2.5/weather?q=London,uk"; //这里是使用NSURLConnection联网的方法NSURLRequest*request = [NSURLReque原创 2013-09-26 20:37:42 · 2792 阅读 · 1 评论 -
iOS开发之网络开发——AFNetWorking
IOS开发之网络开发工具做移动端开发 经常会涉及到几个模块:1、网络检测 2、网络请求get和post请求 3、文件上传 4、文件下载 5、断点续传现在将这些一一分享给大家 ,也欢迎大家一起学习和讨论 本例子采用AFNetWorking框架网络检测:#pragma mark - Reachability Management (iOS 6-7)//网络监听(用于检测网络是否可以链接。此方法最好放于转载 2014-09-24 14:38:53 · 1182 阅读 · 0 评论