From 63110ea54c16d1e0958f0986b3d5a43b254df13a Mon Sep 17 00:00:00 2001 From: Shazron Abdullah <shazron@gmail.com> Date: Thu, 25 Jun 2015 06:20:25 -0700 Subject: [PATCH] CB-9247 - Added macro to conditionally add NSData+Base64.h --- src/ios/CDVCamera.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m index b9ced41..aba400c 100644 --- a/src/ios/CDVCamera.m +++ b/src/ios/CDVCamera.m @@ -30,6 +30,10 @@ #import <MobileCoreServices/UTCoreTypes.h> #import <objc/message.h> +#ifndef __CORDOVA_4_0_0 + #import <Cordova/NSData+Base64.h> +#endif + #define CDV_PHOTO_PREFIX @"cdv_photo_" static NSSet* org_apache_cordova_validArrowDirections;