MultiImageSticker

@objcMembers
@objc(PESDKMultiImageSticker)
open class MultiImageSticker : Sticker

A MultiImageSticker allows to provide multiple variants for a sticker. The variants are cycled when the sticker is already selected and tapped again on the canvas.

  • The array of sticker variants provided for this multi image sticker.

    Declaration

    Swift

    public let stickers: [Sticker]
  • Creates a multi image sticker with an image url for the thumbnail and the sticker variants it should be composed of.

    Declaration

    Swift

    public init(identifier: String, imageURL: URL?, stickers: [Sticker])

    Parameters

    imageURL

    The url for the thumbnail image. If nil the first sticker of the given stickers array will be used to create the thumbnail.

    stickers

    The sticker variants to associate with this multi image sticker.