摘要: 在应用中,我们有时想预览文件,但是又不想为此而专门写一个viewController。这时QLPreviewController的作用就来了。QLPreviewController最简单的用法如下: NSString *path = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject]; NSString *fileName = [pathstringByAppendingPathComponent:@"test.jpg"];NSURL *fi 阅读全文
posted @ 2013-11-14 15:43 天下.无贼 阅读(7691) 评论(0) 推荐(0)