I'm trying to export an UIImage as a sticker for Messages app, but I can't find any documentation about this.
I have my project with the Sticker Pack extension enabled and see that Xcode created a new Stickers.xcassets, every image that I add there manually appears on Messages app to use as a sticker, but how can I save an image programatically there, so the user can create stickers from any image ?
All I can find is information related to creating stickers without doing any code, just shipping an app with predefined images.
let sticker = try MSSticker(contentsOfFileURL: url, localizedDescription: "Test")
I know how create a MSSticker from the image file, but after this I don't know how to proceed and make this newly created sticker appear on Messages app.