VKAspectRatio
public enum VKAspectRatio : CustomStringConvertible
Aspect ratio, specifies dimensions for video output
- active: active preset or specified dimensions (default)
- square: 1:1 square
- standard: 3:4
- standardLandscape: 4:3, landscape
- widescreen: 9:16 HD
- tiktok: 9:16 HD
- widescreenLandscape: 16:9 HD landscape
- instagram: 4:5 Instagram
- instagramLandscape: 5:4 Instagram landscape
- instagramStories: 9:16 Instagram stories
- cinematic: 2.35:1 cinematic
- custom: custom aspect ratio
-
Declaration
Swift
case active
-
Declaration
Swift
case square
-
Declaration
Swift
case standard
-
Declaration
Swift
case standardLandscape
-
Declaration
Swift
case widescreen
-
Declaration
Swift
case widescreenLandscape
-
Declaration
Swift
case twitter
-
Declaration
Swift
case youtube
-
Declaration
Swift
case tiktok
-
Declaration
Swift
case instagram
-
Declaration
Swift
case instagramLandscape
-
Declaration
Swift
case instagramStories
-
Declaration
Swift
case cinematic
-
Declaration
Swift
case custom(w: Int, h: Int)
-
Declaration
Swift
public var dimensions: CGSize? { get }
-
Declaration
Swift
public var ratio: CGFloat? { get }
-
Declaration
Swift
public var description: String { get }