Skip to main content
PESDK/iOS/Guides/Stickers

Personal Stickers

PhotoEditor SDK for iOS allows users to provide their own stickers

This feature is disabled by default. It can be configured with StickerToolControllerOptions.personalStickersEnabled. If enabled, the end user can create personal stickers from the device's photo library. A button is added as first item in the menu in front of the sticker categories which modally presents an image selection dialog for personal sticker creation. Personal stickers will be added to a personal sticker category called "Custom" with the identifier "imgly_sticker_category_personal". The personal sticker category will be added between the button and the regular sticker categories if it does not exist.

You can configure the tint mode of all of these personal stickers with the StickerToolControllerOptions.defaultPersonalStickerTintMode option.

Please note that these types of personal stickers are always included in serialization files, which can increase the size of such a serialization by quite a lot.

let configuration = Configuration { builder in
builder.configureStickerToolController { options in
options.personalStickersEnabled = true
options.defaultPersonalStickerTintMode = .none
}
}