Skip to content

fix(ios): read status bar metrics from windowScene on iOS 27 - #4587

Open
ruifanyuan wants to merge 1 commit into
Tencent:mainfrom
ruifanyuan:main
Open

fix(ios): read status bar metrics from windowScene on iOS 27#4587
ruifanyuan wants to merge 1 commit into
Tencent:mainfrom
ruifanyuan:main

Conversation

@ruifanyuan

Copy link
Copy Markdown
Collaborator

UIApplication.statusBarFrame/statusBarOrientation return Inf/zero when apps built with the iOS 27 SDK run on iOS 27, so Dimensions reported a wrong height and skipped rotation updates.

Before submitting a new pull request, please make sure:

  • Test cases have been added/updated/passed for the code you will submit.
  • Documentation has added or updated.
  • Commit message is following the Convention Commit guideline with maximum 72 characters.
  • Squash the repeat code commits, short patches are welcome.

UIApplication.statusBarFrame/statusBarOrientation return Inf/zero when
apps built with the iOS 27 SDK run on iOS 27, so Dimensions reported a
wrong height and skipped rotation updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ruifanyuan
ruifanyuan requested a review from wwwcg as a code owner August 26, 2026 08:50
@hippy-service

hippy-service Bot commented Aug 26, 2026

Copy link
Copy Markdown

Hi, @ruifanyuan. Thanks for your PR! 👏

🏷️ You can leave a comment in this PR with #help tag when you need help (e.g. some status checks run failed due to internal issue), admin team members will help asap.

@tencent-adm

Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ruifanyuan
ruifanyuan requested a review from iPel August 26, 2026 08:51

@iPel iPel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants