Titanium Mobile - PhotoGallery - Success callback - event property - media.file returns null
- 阅读更多 关于 Titanium Mobile - PhotoGallery - Success callback - event property - media.file returns null
问题 Titanium SDK: 2.1.1, Host OS: Mac OS X 10.6.8, Mobile platform: iOS 5 I am un-able to access some properties of 'Blob' object returned by Titanium.Media.openPhotoGallery's success callback. The properties un-accessible are 'file' and 'nativePath', however I can access properties like 'height', 'width' and 'mimeType'. I'm testing on simulator. Here is what I coded so far. Titanium.Media.openPhotoGallery({ success : function(event) { var image = event.media; if (event.mediaType == Ti.Media