摘要:
kCGImagePropertyExifDictionary 引用错误使用 AVFoundation拍照 //获取图片 [outputImage captureStillImageAsynchronouslyFromConnection:videoConnection completionHandler:^(CMSampleBufferRef imageSampleBuffer, NSError *error) { CFDictionaryRef exifAttachments = CMGetAttachment(imageSampleBuffer, kCGImage... 阅读全文
posted @ 2014-03-18 15:14
cocoajin
阅读(1798)
评论(0)
推荐(0)
摘要:
Objective-C中3种枚举比较及KVO两个小技巧一:oc的3种枚举for循环for in枚举块 如代码NSUInteger totalCount = 10000;NSMutableArray *array = [NSMutableArray arrayWithCapacity:totalCount]; //create an array including 10000 elementsfor (int i = 0; i<totalCount; i++) { array[i] = [@(i) stringValue];} //C Language For Loop Enu... 阅读全文
posted @ 2014-03-18 14:18
cocoajin
阅读(794)
评论(0)
推荐(0)
浙公网安备 33010602011771号