I have an issue with PhoneGap with iOS. I have my app grabbing the photo, and placing it in a div.
but when I go to use the FileUploadOptions() method I get an error:
"ReferenceError: Can’t find Variable: FileUploadOptions"
I'm using PG 0.9.6 with iOS 4.3.3.
It's odd to me that I can access the camera just fine, but the tra开发者_JS百科nsfer function is not seen.
You need to include the FileTransfer plugin
cordova plugin add org.apache.cordova.file-transfer
FileUploadOptions
is used by the FileTransfert
method. Did you take a look a the following Full Example :
http://docs.phonegap.com/en/1.0.0/phonegap_file_file.md.html#FileTransfer
精彩评论