Post

Replies

Boosts

Views

Activity

Reply to Issue with AVAsset access in iOS 18 beta
I got it. Let me clarify the example. It's only a demo to show how to access the asset of the photo library through the file path. if I need to edit this asset, I can access it through the PhotoKit API and then call the method below to write it to my app's sandbox. [[PHAssetResourceManager defaultManager] writeDataForAssetResource:targetResource toFile:url options:options completionHandler:^(NSError * _Nullable error) { }];
Jul ’24