I have a sticker package Stickers.xcstickers
with a few stickers in it. I would like to programmatically get one of these stickers and put it in a MSStickerView
that I have in a UICollectionViewCell
. I know with a UIImage
it is easy and you can just do
let myImage = UIImage(named: "myImage.jpg")
Is there an equivalent to this with MSSticker?
let mySticker = MSSticker(named: "mySticker")
obviously does not work.
There is MSSticker(contentsOfFileURL: URL, localizedDescription: String
but I am unsure how to, if possible, properly implement in a similar fashion to UIImage.
Thanks.