开发者

Saving location information of a video using UISaveVideoAtPathToSavedPhotosAlbum

开发者 https://www.devze.com 2023-03-22 08:50 出处:网络
I have a video recording app. I sync the recorded videos to the iPhone Camera Roll using UISaveVideoAtPathToSavedPhotosAlbum. However when I read the synched videos from the Camera Roll using AssetsLi

I have a video recording app. I sync the recorded videos to the iPhone Camera Roll using UISaveVideoAtPathToSavedPhotosAlbum. However when I read the synched videos from the Camera Roll using AssetsLibrary framework开发者_C百科 and access the location information using valueForProperty: ALAssetPropertyLocation API, I do not get valid location. How do I save the location when I sync the video?

Thanks, Sahana


Hi there is no officially supported way to do this. What you may do: Store the info you want to save in a seperate database. The downside however is that such information is then only available in your app.

What exactly are you trying to accomplish?

Cheers,

Hendrik

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号