How to upload PHAsset (video and image only)?
问题 I want to upload PHAsset but I do not have the file path of the asset. I am able to upload the file using the below block methods. But these are asynchronous methods to get the URLs. Is there any synchronous method to do so or any other way to upload the PHAsset files. Image Asset URL: [asset requestContentEditingInputWithOptions:editOptions completionHandler:^(PHContentEditingInput *contentEditingInput, NSDictionary *info) { NSURL *imageURL = contentEditingInput.fullSizeImageURL; }]; Video