StickerToolController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKStickerToolController)
open class StickerToolController : MenuToolController, StickerSelectionControllerDelegate
extension StickerToolController: TransitionProviding
extension StickerToolController: UIImagePickerControllerDelegate, UINavigationControllerDelegate
The tool controller to add a Sticker
to the image. It contains a menu with the available
StickerCategory
s and a StickerSelectionController
to display the available stickers in that
category.
-
The contained
StickerSelectionController
.Declaration
Swift
public let stickerSelectionController: StickerSelectionController
-
If this value is set the given sticker sprite model’s image will be updated instead of creating a new one.
Declaration
Swift
public var stickerSpriteModel: StickerSpriteModel?
-
Creates a new
StickerToolController
object.Declaration
Swift
public init?(stickerSelectionController: StickerSelectionController, configuration: Configuration, productType: LicenseProduct)
Parameters
stickerSelectionController
The
StickerSelectionController
to use as the child controller.configuration
The
Configuration
object to use for configuration.productType
The product that this tool is used in.