FrameFit

enum FrameFit : NSInteger {}

Constants indicating how an image should fill the area.

  • Centered used as default.

    Declaration

    Objective-C

    FrameFitUnknown = 0
  • Frame maximizes viewport space used while being entirely visible Original aspect ratio, not zoomed.

    Declaration

    Objective-C

    FrameFitInside = FrameFitUnknown
  • Fills the view port by stretching the image. Changes aspect ratio, not zoomed.

    Declaration

    Objective-C

    FrameFitStretchFill
  • Video frame is displayed in the center of the viewport Original aspect ratio, not zoomed

    Declaration

    Objective-C

    FrameFitCentered
  • Video frame is displayed in the center of the viewport - note: Original aspect ratio, zoomed

    Declaration

    Objective-C

    FrameFitZoomFill