File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 36
36
#ifdef USE_TI_MEDIAVIDEOPLAYER
37
37
#import " TiMediaVideoPlayerProxy.h"
38
38
#endif
39
+ #if IS_SDK_IOS_14
39
40
#import < UniformTypeIdentifiers/UTCoreTypes.h>
41
+ #endif
40
42
41
43
// by default, we want to make the camera fullscreen and
42
44
// these transform values will scale it when we have our own overlay
@@ -2014,7 +2016,11 @@ - (void)popoverPresentationControllerDidDismissPopover:(UIPopoverPresentationCon
2014
2016
- (void )presentationControllerDidDismiss:(UIPresentationController *)presentationController
2015
2017
{
2016
2018
#if defined(USE_TI_MEDIASHOWCAMERA) || defined(USE_TI_MEDIAOPENPHOTOGALLERY) || defined(USE_TI_MEDIASTARTVIDEOEDITING)
2019
+ #if IS_SDK_IOS_14
2017
2020
[self closeModalPicker: picker ?: _phPicker];
2021
+ #else
2022
+ [self closeModalPicker: picker];
2023
+ #endif
2018
2024
[self sendPickerCancel ];
2019
2025
#endif
2020
2026
}
You can’t perform that action at this time.
0 commit comments