init(frame:sticker:)
Initializes a new sticker view with the provided sticker and frame.
Declaration
init(frame: CGRect, sticker: MSSticker?)Parameters
Return Value
A newly initialized sticker view.
Discussion
If the sticker image is larger than the view’s frame, the view scales down the sticker to fit. If the frame is larger than the sticker image, the view centers the image in the frame.