我在使用共享工具包功能时遇到问题。ShareKit - Facebook上的共享仍然显示演示应用程序
我有一个按钮和它的IBAction像下面。
但问题是当我按下按钮时,它显示了一个ActionSheet与Facebook,Twitter和Pocket,我选择Facebook,获得认证,然后它将我重定向到ShareKit演示应用程序!
- (IBAction)moreSharing:(id)sender {
{
// Create the item to share (in this example, a url)
NSURL *url = [NSURL URLWithString:@"http://www.mywebsite.com"];
SHKItem *item = [SHKItem URL:url title:@"Welcome to mywebsite"];
// Get the ShareKit action sheet
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
// Display the action sheet
[actionSheet showFromToolbar:navigationController.toolbar];
}
我检查了我的Xcode项目解决方案文件,并且已经删除并删除了示例文件夹。我不知道演示应用程序来自哪里。
有什么想法?