AspectRatioImageView
class AspectRatioImageView
extension AspectRatioImageView : AlignableImageView, CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable
Undocumented
-
Undocumented
Declaration
Swift
func desiredHeight(forWidth availableWidth: CGFloat) -> CGFloat
-
Modifiable image alignment which when updated will update constraints and layout the view if needed.
Declaration
Swift
var imageAlignment: ImageAlignment { get set }
-
Undocumented
Declaration
Swift
convenience init(_ image: UIImage? = nil, alignment: ImageAlignment = .start, insets: UIEdgeInsets = .zero)
-
Undocumented
Declaration
Swift
override init(frame: CGRect)
-
Modifiable insets which when updated will update constraints and layout the view if needed.
Declaration
Swift
var insets: UIEdgeInsets