Tweet GIF using TWTRComposer?



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?


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.

closed #2