I get a compilation error message.
Undefined symbols for architecture armv6: "_CGImageSourceCreateWithData", referenced from: ___-[AVCamCaptureManager captureStillImage]_block_invoke_1 in AVCamCaptureManager.o "_CGImageSourceCopyPropertiesAtIndex", referenced from: ___-[AVCamCaptureManager captureStillImage]_block_invoke_1 in AVCamCaptureManager.o ld: symbol(s) not found for architecture armv6 collect2: ld returned 1 exit status
Looks like a missing library, but I included the ones I need, like
CoreGraphics, QuartzCore Foundation.framework
I also added the headlines
#import <MobileCoreServices/UTCoreTypes.h> #import <AssetsLibrary/AssetsLibrary.h> #import <ImageIO/CGImageProperties.h> #import <ImageIO/ImageIO.h> #import <CoreFoundation/CoreFoundation.h> #import <QuartzCore/QuartzCore.h> #import <AVFoundation/AVFoundation.h>
I chase my tail in 40 minutes, what will I miss guys?
Thanks a lot, code
user440096
source share