Questions tagged [mssticker]

18 questions
11
votes
0 answers

Send WhatsApp Stickers programmatically

I'm working on an app in Android that needs to open a WhatsApp conversation with a previously chosen sticker. Maybe is there a way to do it like when a picture is sent, like this: Intent sendIntent = new…
n4h1n
  • 357
  • 5
  • 19
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…
3
votes
2 answers

How to set stickerSize in MSStickerBrowserViewController

When I create a MSStickerBrowserViewController subclass by embedding it in a container view (using a storyboard) as the documentation suggests, I appear to have no opportunity to set the stickerSize. The Sticker Browser VC is initialized with…
Jeff
  • 51
  • 4
2
votes
1 answer

How to send GIF Image through iMessage extension

I would like to send a GIF Image from my iMessage extension. The message is sending with the image but the problem is that image is not animating. My approach: let msg = msgList[indexPath.row] let message = MSMessage() let msgLayout…
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
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

Swift: how to compress apngs for iMessage extension?

Alright, I have just recently learned the difference between png and apng but I have a custom sticker message extension with animating stickers using classes from this framework project : https://github.com/radif/MSSticker-Images Apple's size limit…
blue
  • 7,175
  • 16
  • 81
  • 179
0
votes
0 answers

URLs for images in .xcassets

I’m working on a sticker pack app. It’s technically an iMessage extension because I’d like to use advanced features like in-app purchases. I’ve put all the stickers into the Stickers.xcassets file, but I can’t figure out how to get URLs for those…
0
votes
1 answer

How to init MSSticker using UIImage and not URL?

I'm creating an application that creates stickers dynamically, meaning the user create images in the host app and the sticker shows up dynamically in iMessage stickers. The way I'm approaching this issue is saving each image in the host app as data…
ndduong
  • 429
  • 9
  • 21
0
votes
1 answer

Download APNG File

I am getting some issues related to APNG file, APNG file animation working perfect if i put APNG files in resource bundle , But when i have download same APNG file from assets server and saving APNG file into resource directory and then load using…
Muhammad Shauket
  • 2,643
  • 19
  • 40
0
votes
1 answer

CollectonView "readjusts" origin after loaded into view

I am making a custom sticker pack. It is an iMessage Extension app. I am subclassing UICollectionView rather than using the basic MSMessagesViewController. So this happens only when I select the chevron icon in the expanded view to change back to…
Jake Dobson
  • 1,716
  • 3
  • 11
  • 29
0
votes
0 answers

How to Add .gif format stickers to I message app in Swift 3?

I stucked with one problem can you solve me? Actually I'm implementing custom sticker pack for imessage app. For that I implemented all the things its working fine but only one case. So if I add .jpg or .png format files its displaying and sending…
Stack
  • 31
  • 1
  • 9
0
votes
1 answer

Why sticker pack displaying stickers in list wise not in grid in MSMessagesAppViewController

i'm implementing stickers pack app for i message app in swift3 my code like this func loadStickers() { for i in 1...6 { if let url = Bundle.main.url(forResource: "flower\(i)", withExtension: "jpg") { do { let…
Stack
  • 31
  • 1
  • 9
1
2