Class
ADStickerContentView
public class ADStickerContentView: UIView
Sticker base content view that you can add to ADStickerInteractView
.
Relationships
Subclasses
ADImageStickerContentView
Subclass of
ADStickerContentView
, Used to display image sticker.
Conforms To
UIView
Initializers
init(frame:)
public override init(frame: CGRect)
Initial view whith frame
Parameters
Name | Type | Description |
---|---|---|
frame | CGRect |
View rect. |
Properties
Methods
doubleTapAction(ctx:)
open func doubleTapAction(ctx: UIViewController?)
Called when double tap the content view. Subclass can override and do some operation.
Parameters
Name | Type | Description |
---|---|---|
ctx | UIViewController? |
Image edit controller. |
sizeDidChange(_:)
public func sizeDidChange(_ size: CGSize)
Call this method when sticker size changed.
Parameters
Name | Type | Description |
---|---|---|
size | CGSize |
New sticker size. |