ios8 - Working with Photo Library: How do I add/retrieve a location per photo? -



ios8 - Working with Photo Library: How do I add/retrieve a location per photo? -

i'm trying location of photo via ios 8's photo library. doc says phasset class has 'location' attribute.

tried view 'location' via xcode v6.3 attached itouch running ios 8.3... assessing itouch photo library:

(lldb) po asset 5c9845f2-6bfd-410b-8222-ffbce5ffd4a8/l0/001 mediatype=1/0, assetsource=6, (3008x2000), creationdate=2015-04-05 22:40:28 +0000, location=0, hidden=0, favorite=0

(lldb) po asset.creationdate 2015-04-05 22:40:28 +0000

(lldb) po asset.location error: :1:1: error: 'phasset' not have fellow member named 'location' asset.location ^ ~~~~~~~~

though see 'location' attribute within 'asset' object, can't access it...apparently there's no 'location' data.

questions: 1) why debugger phasset doesn't have 'location' attribute when can see (...having 0 value; , described in docs)?

2) assuming there's no location info photo, how create itouch's (and iphone) photographic camera record location? note: wi-fi based itouch; not iphone.

sounds more debugger issue. seek

po [asset location]

to record location data, enable location services photographic camera app on ipod touch.

ios8 location phasset

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -