| 客户端 | Android | iOS | PC |
|---|---|---|---|
| 支持说明 | 支持 | 支持 | 不支持 |
dd.device.screen.rotateView({
showStatusBar : true, // 否显示statusbar
clockwise : true, // 是否顺时针方向
onSuccess : function(result) {
},
onFail : function(err) {}
});| 参数 | 类型 | 说明 |
|---|---|---|
| showStatusBar | Boolean | 是否显示statusbar (iOS)。 |
| clockwise | Boolean | 是否为顺时针方向旋转,默认 true。 |