2
ich diesen Code haben eine PHAsset zu laden:requestAVAssetForVideo nicht zeigen Abschluss Block
PHVideoRequestOptions *options = [[PHVideoRequestOptions alloc] init];
options.networkAccessAllowed = YES;
[[PHImageManager defaultManager] requestAVAssetForVideo:[videos objectAtIndex:index] options:options resultHandler:^(AVAsset *asset, AVAudioMix *audioMix, NSDictionary *info) {
selectedAsset = asset;
}];
Es funktioniert völlig in Ordnung, mit auf dem Gerät gespeicherten Videos. Wenn der Code jedoch ein Video von iCloud laden soll, wird der Completion-Block nicht aufgerufen. Können Sie mir helfen?