????3.3.????????View
????a.???????????????
NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"123"  ofType:@"png"];
//??????SDK
//???????????
id<ISSContent> publishContent = [ShareSDK content:@"iOS?罻??????????????"
defaultContent:@"????????????????????"
image:[ShareSDK imageWithPath:imagePath]
title:@"ShareSDK"
url:@"http://www.sharesdk.cn"
description:@"??????????????"
mediaType:SSPublishContentMediaTypeNews];
????b.????????View
[ShareSDK showShareActionSheet:nil
shareList:nil
content:publishContent
statusBarTips:YES
authOptions:nil
shareOptions: nil
result:^(ShareType type?? SSResponseState state?? id<ISSPlatformShareInfo> statusInfo?? id<ICMErrorInfo> error?? BOOL end) {
if (state == SSResponseStateSuccess)
{
NSLog(@"??????");
}
else if (state == SSResponseStateFail)
{
NSLog(@"??????????????:%d??????????:%@"?? [error errorCode]?? [error errorDescription]);
}
}];
????Ч?????