StickerSelectionControllerDelegate

@available(iOS 9.0, *)
@objc(PESDKStickerSelectionControllerDelegate)
public protocol StickerSelectionControllerDelegate : AnyObject

The StickerSelectionControllerDelegate defines methods that allow you to respond to messages from the StickerSelectionController.

  • Tells the delegate that the given sticker with the given image was selected.

    Declaration

    Swift

    func stickerSelectionController(_ stickerSelectionController: StickerSelectionController, didSelect sticker: Sticker, with image: UIImage)

    Parameters

    stickerSelectionController

    The sticker selection controller where the sticker was selected in.

    sticker

    The sticker that was selected.

    image

    The image that belongs to the sticker that was selected.