UIScreen

extension UIScreen
  • The center of the screen

    Declaration

    Swift

    public var center: CGPoint { get }
  • The width of the screen

    Declaration

    Swift

    public var width: CGFloat { get }
  • The height of the screen

    Declaration

    Swift

    public var height: CGFloat { get }