Skip to content

macos == > UIKit-- UIEdgeInsets #296

Description

@dream4java
macos == > UIKit-- UIEdgeInsets

static var safeAreaInsets: UIEdgeInsets { #if os(iOS) || os(tvOS) UIApplication.shared .connectedScenes .compactMap { $0 as? UIWindowScene } .first? .keyWindow? .safeAreaInsets ?? .zero #else return .zero #endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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