Tweet GIF using TWTRComposer?

ios

#1

I would like to tweet a GIF using TWTRComposer. In my app, I know the NSURL of a local GIF file. I tried creating a UIImage from this as follows:

[composer setImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:self.localGifURL]]];

An image then appears in the composer window, but when it gets tweeted, it’s a static image rather than the GIF.

Is it possible to set a GIF attachment to TWTRComposer?

Edit

I tried integrating this library to create an animated UIImage:

Updating my code, I have the following:

[composer setImage:[UIImage animatedImageWithAnimatedGIFURL:self.localGifURL]];

But this still results in a static image on Twitter.


#2