Sharekit 2.0 Twitter一次发送多张图片



是否有办法在使用Sharekit 2.0 Twitter时一次发送多个图像?从文档来看,这似乎是不可能的,因为他们一次只能共享一个项目。我说的对吗?或者我可以尝试其他方法?

非常感谢。

很遗憾,你是对的。ShareKit一次只能发送一张图片。但是,您可以尝试使用shareKit的便利方法

#import "SHKReadItLater.h" //include the service's header at the top of your class
// Create the item to share (in this example, a url)
NSURL *url = [NSURL URLWithString:@"http://getsharekit.com"];
SHKItem *item = [SHKItem URL:url title:@"ShareKit is Awesome!"];
// Share the item
[SHKReadItLater shareItem:item]; 

使用自动分享无声地发送更多图片(参见FAQ)。确保你使用ios之前的twitter(通过在配置器中设置),因为ios twitter还不能处理自动分享。我承认,这不是一个很好的解决方案,因为您必须创建SHKItem并为每个图像打开单独的连接。

最新更新