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