Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c51043d4a3956629cd5dddfc3a52847564786ac
      
https://github.com/WebKit/WebKit/commit/3c51043d4a3956629cd5dddfc3a52847564786ac
  Author: Youenn Fablet <[email protected]>
  Date:   2025-10-09 (Thu, 09 Oct 2025)

  Changed paths:
    M Source/WebKit/Configurations/AllowedSPI-legacy.toml
    M Source/WebKit/Platform/spi/ios/UIKitSPI.h
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm

  Log Message:
  -----------
  [iOS 26] Camera capture orientation is not correct on SafariViewService
rdar://160105158
https://bugs.webkit.org/show_bug.cgi?id=300428

Reviewed by Wenson Hsieh.

On iOS 26, UIApplication.sharedApplication.statusBarOrientation seems to always 
return the portrait orientation on SVC.
windowScene.effectiveGeometry.interfaceOrientation on the other end provides 
the correct value.
We switch the order to use windowScene.effectiveGeometry.interfaceOrientation 
if there is a scene and UIApplication.sharedApplication.statusBarOrientation 
otherwise.
We also remove one UIKit SPI as part of this change.

Manually tested on Mobile Safari, SVC and WKWebView.

Canonical link: https://commits.webkit.org/301262@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to