diff --git a/iphone/Classes/MediaModule.m b/iphone/Classes/MediaModule.m index c5a2f2eb09c..b3319511532 100644 --- a/iphone/Classes/MediaModule.m +++ b/iphone/Classes/MediaModule.m @@ -1784,7 +1784,7 @@ - (void)handleTrimmedVideo:(NSURL *)theURL withDictionary:(NSDictionary *)dictio } #endif -#if IS_SDK_IOS_14 +#if IS_SDK_IOS_14 && defined(USE_TI_MEDIAOPENPHOTOGALLERY) - (void)showPHPicker:(NSDictionary *)args { if (_phPicker != nil) {