PHImageContentMode Enum

Definition

Enumerates values that control how images are displayed.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public enum PHImageContentMode
type PHImageContentMode = 
Inheritance
PHImageContentMode
Attributes

Fields

AspectFill 1

Scales the image so that one dimension completely fills the target area in one direction. The other dimension may be padded, and the entire image will be visible.

AspectFit 0

Scales the image to fill the target area and crops any excess.

Default 0

The image is neither scaled nor cropped.

Applies to