UIScreen
extension UIScreen
-
The corner radius of the display. Uses a private property of
UIScreen
, and may report 0 if the API changes.Declaration
Swift
@MainActor public var displayCornerRadius: CGFloat { get }