UITraitCollection

extension UITraitCollection
  • Layout class for the current screen and device.

    This evaluates the vertical and horizontal screen real-estate and provides a classification based on the likelihood that the trait collection might need accomodations for the available space.

    Declaration

    Swift

    @objc
    public var mimiLayoutClass: MimiLayoutClass { get }