dcloudio / dcloudio/uni-app

ios plus.screen.lockOrientation('landscape-primary') 导致状态栏丢失

Open
#5,981 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**问题描述**
ios平台 使用plus.screen.lockOrientation('landscape-primary') 切换为横屏 导致状态栏丢失,状态栏高度仍能获取,安卓正常

**复现步骤**
[复现问题的步骤]
```
onReady(() => {
plus.screen.lockOrientation('landscape-primary')
})
```

**预期结果**
正常显示状态栏

**实际结果**

**系统信息:**
- 发行平台: ios
- HBuilderX版本HBuilderX 5.05
- 设备信息
26+、17.6 等多个版本均出现

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.