카메라로 이미지를 캡처하고 있습니다. 캡처 후 나는 이미지 이름을 얻을 수 있도록 URL을 얻고 싶습니다. 나는 이것을 위해 아래 코드를 사용하고 있습니다.ioS에서 PHPhotoLibrary의 ref url을 얻는 방법은 무엇입니까?
PHObjectPlaceholder *assetholder;
PHPhotoLibrary *objPhoto = [PHPhotoLibrary sharedPhotoLibrary];
[objPhoto performChanges:^{
PHAssetChangeRequest *assets = [PHAssetChangeRequest creationRequestForAssetFromImage:info[UIImagePickerControllerOriginalImage]];
PHObjectPlaceholder *assetholder = assets.placeholderForCreatedAsset;
} completionHandler:^(BOOL success, NSError * _Nullable error) {
}];
어떻게 이미지 이름을 가져올 수 있도록 이미지의 URL을 얻을 수 있습니까?
들과 유사 - LARGE BOUNTY - http://stackoverflow.com/questions/43791151/100-bounty-actually-get-the-filename-of-image-saved-to-photos-album-2017- ios10 – Fattie