Iw been poking arround this for days...
I had it working some time ago but now it just dont work anymore... (recently updated XDK to latest version and also iOS to latest) i dont know whats the problem!?
Iw installed cordova-plugin-screen-orientation, set portrait in project setings in C2 and in XDK i even set browser object orientation lock as first event (that worked before) and nothing... screen still rotates!
Does anyone know how to sucessfilly lock to portrait?