Skip to content

Update AuthWebViewController to avoid UIScreen.main on iOS 26 #294

@OliverChoi-iOS

Description

@OliverChoi-iOS

Description

Apple's WWDC26 session “Modernize your UIKit app” recommends avoiding global main-screen references. In scene-based apps, especially with iPhone Mirroring, external displays, and multi-window setups, UIScreen.main may not represent the display where current UI is running.

PopupView/Sources/Utils.swift currently uses UIScreen.main on line 23. Please update this usage to follow scene-based UIKit geometry guidance.

Reference

Apple WWDC26: “Modernize your UIKit app”
https://developer.apple.com/videos/play/wwdc2026/278/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions