Class

MSSticker​View

Use the MSSticker​View class to display sticker objects. The sticker view also provides drag-and-drop functionality. The user can press and hold a sticker to peel it from the view, and then drag the sticker to any balloon in the transcript.

Symbols

Working with Sticker Views

init(frame:​ CGRect, sticker:​ MSSticker?)

Initializes a new sticker view with the provided sticker and frame.

var sticker:​ MSSticker?

The displayed sticker object.

Controlling Sticker Animation

var animation​Duration:​ Time​Interval

The amount of time it takes to complete the sticker’s animation.

func is​Animating()

Returns a Boolean value that indicates whether the sticker is animating.

func start​Animating()

Starts the sticker’s animation, beginning with the first frame.

func stop​Animating()

Stops the sticker’s animation.