如何從照片iOS應用程序中選擇照片?使用Meteor.js和Cordova訪問iOS照片應用程序的照片
安裝了mdg:camera
,我只能通過使用iPhone的相機拍攝照片。我們如何從照片應用中選擇現有照片?
var cameraOptions = {
width: 800,
height: 600
};
MeteorCamera.getPicture(cameraOptions, function (error, data) {
console.log('photo: ', data)
});
這可能有助於http://www.raymondcamden.com/2013/07/23/better-example-of-phonegap-parse-and-uploading-files – Nimir 2015-01-23 06:07:38