简体   繁体   English

在iPhone中检测图片的图像位置

[英]Detecting image location of the picture in iPhone

I am working on a camera app in which the pictures I take should store the location as to where they were taken. 我正在开发一款相机应用程序,其中我拍摄的照片应该存储它们拍摄地点的位置。 So maybe after a while, if I want to know where a particular picture was taken, I should click on a button, say above my photo album, which should re-direct me to a mapview. 所以也许过了一段时间,如果我想知道拍摄特定照片的位置,我应该点击一个按钮,比如说我的相册上面,我应该重新引导我到mapview。 There, it should show the places where i've taken all my pictures, with an album for each place. 在那里,它应该显示我拍摄所有照片的地方,每个地方都有一张专辑。

Any idea on how to make this work? 有关如何使这项工作的任何想法?

Add MetaData to UIImage . MetaData添加到UIImage Same metadata of UIImage can be used to know images's location. UIImage的相同元数据可用于了解图像的位置。

Refer Save_Photo_to_Album_with_Metadata 请参阅Save_Photo_to_Album_with_Metadata

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM