Created
June 24, 2015 06:22
-
-
Save srkirkland/78fcfdda8c61f80e9cfc to your computer and use it in GitHub Desktop.
get asset info including location from uiimage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var refurl = obj.ValueForKey(UIImagePickerController.ReferenceUrl) as NSUrl; | |
//TODO: refurl is null on newly taken images | |
var lib = new ALAssetsLibrary(); | |
lib.AssetForUrl(refurl, (ALAsset asset) => { | |
var loc = asset.Location; | |
}, (NSError error) => { | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment