On 9/05/2012 8:34 p.m., Tomasz Cielecki wrote:
I don't think UTType is anywhere to be found in MT.
But, correct me if I am wrong, I don't think they are needed anywhere
as MediaType and Metadata on the UIImagePicker are just simple strings
From what I can understand...
The information from UIImagePicker is returned in a a NSMutableDictionary. The keys are NSStrings,
the valid values of which are conveniently provided as static on the UIImagePicker class. The value
that is returned from the collection when you use the MediaType NS string as a key is another
string that is one of the values of UTType
(http://developer.apple.com/library/ios/#documentation/MobileCoreServices/Reference/UTTypeRef/Reference/reference.html).
Obviously this is likely constrained to be image video etc... I was confused that while the
"MediaType" NSString constant isprovided, I could not find any list of UTType string
constants. My question was "where can I find this in MT?" If the authoritative answer
really is nowhere, then has anyone gone to the trouble of making a collectionof constant strings
that I can steal? And why hasn't MT got this given that the NSString keys were put in?
If no one has done it maybe I'll put a static class up on github to share...
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch