質問

Seems like I've taken all the steps and measures but cant get iphone camera to work.

  1. Include <script src="cordova.js"></script>

  2. install the plugin: $ cordova plugin add org.apache.cordova.camera

  3. Configure config.xml:

3) Call it on deviceready

document.addEventListener("deviceready",onDeviceReady,false);
function onDeviceReady() { alert(navigator.camera) }

returns undefined

Any suggestions?

I tried it in Ripple and it actually works...

正しい解決策はありません

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top