2011-08-04 26 views

回答

1

望着文档浏览:http://getsharekit.com/docs/

我注意到,它看起来好像你只能在一个时间,这就是为什么他们把每种类型的共享不同的标题下共享一个项目,不存在组合标题。 sharekit

为什么不创建一个自定义方法来实现所有这些不同的回调为一个?比如创建一系列项目并一次分享。

- (void)myButtonHandlerAction 
{ 
    // Create an array of items here url, date, etc. 
    NSURL *url = [NSURL URLWithString:@"http://getsharekit.com"]; 
    SHKItem *item = [SHKItem URL:url title:@"ShareKit is Awesome!"]; 

    // Get the ShareKit action sheet 
    SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item]; 

    /Display the action sheet 
    [actionSheet showFromToolbar:navigationController.toolbar]; 
} 
相关问题