ImageCropController
@MainActor
open class ImageCropController : UIViewController, ImageCropViewDelegate
-
Undocumented
Declaration
Swift
@MainActor open private(set) var image: UIImage { get }
-
Undocumented
Declaration
Swift
@MainActor open private(set) var croppingStyle: ImageCropCroppingStyle { get }
-
Undocumented
Declaration
Swift
@MainActor open weak var delegate: ImageCropControllerDelegate?
-
Undocumented
Declaration
Swift
@MainActor open var imageCropFrame: CGRect { get set }
-
Undocumented
Declaration
Swift
@MainActor open var angle: Int { get set }
-
Undocumented
Declaration
Swift
@MainActor open var minimumAspectRatio: CGFloat { get set }
-
Undocumented
Declaration
Swift
@MainActor open var toolbarHeight: CGFloat { get set }
-
Undocumented
Declaration
Swift
@MainActor open var aspectRatioPreset: ImageCropAspectRatioPreset { get set }
-
Undocumented
Declaration
Swift
@MainActor open var customAspectRatio: CGSize { get set }
-
Undocumented
Declaration
Swift
@MainActor open var customAspectRatioName: String?
-
Undocumented
Declaration
Swift
@MainActor open var originalAspectRatioName: String?
-
Undocumented
Declaration
Swift
@MainActor open var titleTopPadding: CGFloat
-
Undocumented
Declaration
Swift
@MainActor open var doneButtonTitle: String? { get set }
-
Undocumented
Declaration
Swift
@MainActor open var cancelButtonTitle: String? { get set }
-
Undocumented
Declaration
Swift
@MainActor open var aspectRatioLockDimensionSwapEnabled: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var aspectRatioLockEnabled: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var resetAspectRatioEnabled: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var toolbarPosition: ImageCropToolbarPosition
-
Undocumented
Declaration
Swift
@MainActor open var rotateClockwiseButtonHidden: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var hidesNavigationBar: Bool
-
Undocumented
Declaration
Swift
@MainActor open var rotateButtonsHidden: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var resetButtonHidden: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var aspectRatioPickerButtonHidden: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var doneButtonHidden: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var cancelButtonHidden: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var allowedAspectRatios: [ImageCropAspectRatioPreset]?
-
Undocumented
Declaration
Swift
@MainActor open var onDidFinishCancelled: ((_ isFinished: Bool) -> Void)?
-
Undocumented
Declaration
Swift
@MainActor open var onDidCropImageToRect: ((_ cropRect: CGRect, _ angle: Int) -> Void)?
-
Undocumented
Declaration
Swift
@MainActor open var onDidCropToImage: ((_ image: UIImage, _ cropRect: CGRect, _ angle: Int) -> Void)?
-
Undocumented
Declaration
Swift
@MainActor open var onDidCropToCircularImage: ((_ image: UIImage, _ cropRect: CGRect, _ angle: Int) -> Void)?
-
Undocumented
Declaration
Swift
@MainActor open lazy var cropView: ImageCropView { get set }
-
Undocumented
Declaration
Swift
@MainActor open lazy var toolbar: ImageCropToolbar { get set }
-
Undocumented
Declaration
Swift
@MainActor open var titleLabel: UILabel? { get }
-
Undocumented
Declaration
Swift
@MainActor public convenience init(image: UIImage)
-
Undocumented
Declaration
Swift
@MainActor public init(croppingStyle: ImageCropCroppingStyle, image: UIImage)
-
Undocumented
Declaration
Swift
@MainActor public required init?(coder: NSCoder)
-
Undocumented
Declaration
Swift
@MainActor override open func viewDidLoad()
-
Undocumented
Declaration
Swift
@MainActor override open func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@MainActor override open func viewDidAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@MainActor override open func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@MainActor override open var prefersStatusBarHidden: Bool { get }
-
Undocumented
Declaration
Swift
@MainActor override open var preferredStatusBarStyle: UIStatusBarStyle { get }
-
Undocumented
Declaration
Swift
@MainActor override open var title: String? { get set }
-
Undocumented
Declaration
Swift
@MainActor override open var preferredScreenEdgesDeferringSystemGestures: UIRectEdge { get }
-
Undocumented
Declaration
Swift
@MainActor override open func viewSafeAreaInsetsDidChange()
-
Undocumented
Declaration
Swift
@MainActor override open func viewDidLayoutSubviews()
-
Undocumented
Declaration
Swift
@MainActor override open func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
-
Undocumented
Declaration
Swift
@MainActor open func resetCropViewLayout()
-
Undocumented
Declaration
Swift
@MainActor open func setAspectRatioPreset(_ aspectRatioPreset: ImageCropAspectRatioPreset, animated: Bool)
-
Undocumented
Declaration
Swift
@MainActor open func cropViewDidBecomeResettable(_ cropView: ImageCropView)
-
Undocumented
Declaration
Swift
@MainActor open func cropViewDidBecomeNonResettable(_ cropView: ImageCropView)