IVSAspectMode
Objective-C
enum IVSAspectMode : NSInteger {}
                Swift
enum AspectMode : Int, @unchecked Sendable
                Supported aspect modes.
- 
                  
                  
Will simply fill the bounding area with the image, disregarding the aspect ratio.
Declaration
Objective-C
IVSAspectModeNone = 0Swift
case none = 0 - 
                  
                  
Will fit the entire image within the bounding area while maintaining the correct aspect ratio. in practice this means that there will be letterboxing or pillarboxing.
Declaration
Objective-C
IVSAspectModeFitSwift
case fit = 1 - 
                  
                  
Will fill the bounding area with the image while maintaining the aspect ratio. in practice this means that the image will likely be cropped.
Declaration
Objective-C
IVSAspectModeFillSwift
case fill = 2