File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -813,14 +813,11 @@ + (BOOL)requiresMainQueueSetup
813
813
PHAsset *phAsset = [phAssetFetchResult firstObject ];
814
814
PHVideoRequestOptions *options = [[PHVideoRequestOptions alloc ] init ];
815
815
options.networkAccessAllowed = YES ;
816
+ options.version = PHVideoRequestOptionsVersionOriginal;
817
+ options.deliveryMode = PHVideoRequestOptionsDeliveryModeAutomatic;
816
818
817
819
dispatch_group_t group = dispatch_group_create ();
818
820
dispatch_group_enter (group);
819
-
820
- PHVideoRequestOptions *options = [[PHVideoRequestOptions alloc ]init];
821
- options.version = PHVideoRequestOptionsVersionOriginal;
822
- options.deliveryMode = PHVideoRequestOptionsDeliveryModeAutomatic;
823
- options.networkAccessAllowed = YES ;
824
821
825
822
[[PHImageManager defaultManager ] requestAVAssetForVideo: phAsset options: options resultHandler: ^(AVAsset *asset, AVAudioMix *audioMix, NSDictionary *info) {
826
823
You can’t perform that action at this time.
0 commit comments