sticker
The displayed sticker object.
Declaration
var sticker: MSSticker? { get set }Discussion
Set this property to nil to remove the current sticker.
If you are using Auto Layout, setting the sticker property changes the view’s intrinsic content size. A view with a nil-valued sticker property does not have an intrinsic content size (the intrinsic content size is set to {UIViewNoIntrinsicMetric, UIViewNoIntrinsicMetric}). Otherwise, the view’s intrinsic content size is set equal to the size of the sticker’s image file (in points).
If you are not using Auto Layout, setting the sticker property does not change the view’s size. Call sizeToFit() to adjust the size of the view to match the sticker.