SizeConstraintType
@objc(YMASizeConstraintType)
public enum SizeConstraintType : Int, Sendable
Object sizing constraint.
-
Fixed width or height.
Declaration
Swift
case fixed -
The ratio of the size of something to the size of the entire contents. The actual size of the content is not considered.
Declaration
Swift
case fixedBannerRatio -
The ratio of the size of something to the size of the entire content, but no more than the actual size of the content.
Declaration
Swift
case preferredBannerRatio