objective c - ios write geotag into image -
i need read jpg image (not imagelibrary) , write them exif geotag data taken iphone gps how can this?
thanks in advance.
paolo
the uiimagepickercontroller doesn't give camera's location. have add cllocationmanager in app. initiate/delegate self. , call "startupdatinglocation". in "-(void)locationmanager:(cllocationmanager *)manager didupdatetolocation:(cllocation *)newlocation fromlocation:(cllocation *)oldlocation", able location "newlocation".
now if want save image photo library, can use https://github.com/gpambrozio/gusutils
more explanations can found: http://blog.codecropper.com/2011/05/adding-metadata-to-ios-images-the-easy-way/
Comments
Post a Comment