How can I call native ios api from cocos2d html5 with javascript binding project?

Can cocos2d html5 with javacript binding project for ios call ios native api? I am looking for the way to access the ios device camera, photos, etc.

Thanks

Emmy

Or can I switch the scenes between cc.Scene and UIViewController ?
I know how to do this using cocos2d-x c++. I don’t know how to do this in html5.

Hi Emmy,
First of all, you have to know how to expose c++ class to JS by using @tools/bindings-generator@.
Second, if binding-generator could not bind your class methods, you should bind the methods manually.
Some documents:
http://www.cocos2d-x.org/wiki/How_to_bind_C++_to_Javascript?project_id=cocos2d-x
https://github.com/cocos2d/cocos-docs/blob/master/manual/framework/native/scripting/javascript/jsb-manually/en.md