screen-orientation.ios.js
function setShouldAutoRotate(bool){
    var prototypeForNavController = findPrototypeForProperty(frameModule.topmost().ios.controller,"shouldAutorotate");
    Object.defineProperty(prototypeForNavController,"shouldAutorotate",{
        configurable:true,
        enumerable:false,
        get:function(){
            return bool;
        }
    })

}
function setShouldAutoRotate(bool){
    var prototypeForNavController = findPrototypeForProperty(frameModule.topmost().ios.controller,"shouldAutorotate");
    Object.defineProperty(prototypeForNavController,"shouldAutorotate",{
        configurable:true,
        enumerable:false,
        get:function(){
            return bool;
        }
    })

}
function setShouldAutoRotate ( bool ) { var prototypeForNavController = findPrototypeForProperty ( frameModule . topmost ( ) . ios . controller , "shouldAutorotate" ) ; Object . defineProperty ( prototypeForNavController , "shouldAutorotate" , { configurable : true , enumerable : false , get : function ( ) { return bool ; } } ) }
set should auto rotate
@param bool
set should auto rotate