Questions tagged [msstickerview]
16 questions
8
votes
1 answer
Creating Sticker Pack programmatically, issue with casting UICollectionViewCell as MSStickerView
So, I have opted to using no storyboards in my messages extension sticker pack. The iMessage app comes with a storyboard file and a MessagesViewController.swift. I created 2 files named CollectionViewController and StickerCell. The idea is to…

Jake Dobson
- 1,716
- 3
- 11
- 29
6
votes
1 answer
In an MSStickerBrowserViewController on iOS 10, how can I tell which sticker a user selected?
I have a subclass of MSStickerBrowserViewController that contains a MSStickerBrowserView with a couple dozen MSStickers. For analytics, we're trying to track which stickers are the most popular in the sticker app. Is there any way to tell which…

David M
- 433
- 3
- 12
5
votes
2 answers
iOS 10 Swift programmatically get sticker from Stickers.xcstickers
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…

DerFlickschter
- 1,059
- 1
- 9
- 18
3
votes
0 answers
MSStickerView randomly raises NSInvalidArgumentException in iMessageExtension
Sometimes, apparently randomly, when using MSStickerView in my IMessageExtension, the following error is raised :
Fatal Exception: NSInvalidArgumentException
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from…

Drico
- 1,284
- 15
- 33
3
votes
1 answer
How to provide different sizes for iMessage Sticker App Grid Sticker
I have created an iOS iMessage sticker app, and according to apple documentation, I should be able to display the stickers in one of three different sizes.
However, no matter what size I make the sticker images (300px by 300px, 408px by 408px,…

Ernesto Rivera
- 31
- 3
2
votes
1 answer
Export an UIImage as a sticker for Messages app
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…

herd
- 155
- 2
- 19
2
votes
0 answers
MSStickerView animation high memory usage
I'm developing a custom iMessages sticker pack application and I'm experiencing extremely high memory usage, which is crashing my application, when animating stickers.
All my graphics are under 500kb in size, formatted as GIFs.
Without animation my…

Cameron Little
- 3,487
- 23
- 35
1
vote
1 answer
IMessage MSSticker view created from UIView incorrect sizing
Hey I have been struggling with this for a couple of days now and can't seem to find any documentation out side of the standard grid views for MSStickerView sizes
I am working on an app that creates MSStickerViews dynamically - it does this via…

user499846
- 681
- 3
- 11
- 24
1
vote
1 answer
MSSticker image from remote url with lazy loading (add loader)
I want to load Stickers from the server using remote URL, I have found a solution for that from following post.
Creating a MSSticker with a remote image
But now i want to load sticker image with lazy loading, can i add loader in each sticker cell…

AtulParmar
- 4,358
- 1
- 24
- 45
1
vote
1 answer
How can I show Stickers from Document directory in Swift
DispatchQueue.main.async
{
var x : Int = 0
for item in self.arrGifs
{
let gif : GIF = item as! GIF
let gifName = URL(string: gif.gifImage)?.lastPathComponent
…

sandeep nag
- 148
- 8
1
vote
0 answers
How to scale MSStickerView to the size of MSSticker?
My iMessage Extension is currently generating images based on a text input and presenting them to the user as Stickers in an MSStickerView. The user can manipulate the size of the Sticker via a slider bar.
To do this, I am scaling the generated…

mintyLemon
- 25
- 7
1
vote
2 answers
How to block the selection of a sticker in iMessage
I'm trying to make a very simple stickers iMessage application with user being proposed to in-app purchase when they click on some of the stickers.
I have a custom view controller that implements UIViewController, UICollectionViewDelegate,…

tencnivel
- 183
- 1
- 10
1
vote
3 answers
MSStickerBrowserView stickers going out of frame
I am attempting to dynamically load stickers for a Messages Extension for iOS 10. I have successfully loaded these icons; however, they fail to properly constrain to the proportions of a message app.
In the compact view of a message extension, it…

Aaron
- 757
- 5
- 18
0
votes
2 answers
How to edit stickerview text on long click Listener in android
I am developing sticker app, where i can add text to Stickerview. I can flip, rotate and delete sticker Text. Now i want to edit the text of StickerView when i do long click on stickerText.
Here is the code which add text sticker to screen.
…

Pir Fahim Shah
- 10,505
- 1
- 82
- 81
0
votes
2 answers
Trigger tap on MSSticker or view programmatically?
Alright, I have looked at How to trigger tap gesture recognizer of UIView programmatically and similar questions but cant find what I am looking for. I am building an iMessage app extension, and need too programmatically trigger a tap event on an…

blue
- 7,175
- 16
- 81
- 179