<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      iOS 自定義 shareSDK 容器

      - (void)initializePlat

      {

          //添加新浪微博應(yīng)用

          [ShareSDK connectSinaWeiboWithAppKey:@"3201194191"

                                     appSecret:@"0334252914651e8f76bad63337b3b78f"

                                   redirectUri:@"http://appgo.cn"];

          

          //添加騰訊微博應(yīng)用

          [ShareSDK connectTencentWeiboWithAppKey:@"801307650"

                                        appSecret:@"ae36f4ee3946e1cbb98d6965b0b2ff5c"

                                      redirectUri:@"http://www.sharesdk.cn"];

          

          //添加QQ空間應(yīng)用

          [ShareSDK connectQZoneWithAppKey:@"100371282"

                                 appSecret:@"aed9b0303e3ed1e27bae87c33761161d"];

          

          //添加微信應(yīng)用

          [ShareSDK connectWeChatWithAppId:@"wx460cdac783d396b1" wechatCls:[WXApi class]];

          

          //添加QQ應(yīng)用  100510022    QQ0F0A941E

          

          [ShareSDK connectQQWithAppId:@"QQ0F0A941E" qqApiCls:[QQApi class]];

          

      }

       

      - (BOOL)application:(UIApplication *)application

            handleOpenURL:(NSURL *)url

      {

          return [ShareSDK handleOpenURL:url

                              wxDelegate:self];

      }

       

      - (BOOL)application:(UIApplication *)application

                  openURL:(NSURL *)url

        sourceApplication:(NSString  *)sourceApplication

               annotation:(id)annotation

      {

          return [ShareSDK handleOpenURL:url

                       sourceApplication:sourceApplication

                              annotation:annotation

                              wxDelegate:self];

      }

       

       

      - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions

      {

          

       

          

          //參數(shù)為ShareSDK官網(wǎng)中添加應(yīng)用后得到的AppKey

          [ShareSDK registerApp:@"10ce745008ef"];

             [self initializePlat];

          **************************************************************

       

       

       

      #pragma mark - 分享

      -(void)onShareSoftwear

      {

          

          NSLog(@"分享");

          NSString *imagePath = [[NSBundle mainBundlepathForResource:@"ShareSDK" ofType:@"jpg"];

       

          //構(gòu)造分享內(nèi)容

          id<ISSContent> publishContent = [ShareSDK content:@"廣源鋁業(yè)軟件"

                                             defaultContent:@"廣源鋁業(yè)"

                                                      image:[ShareSDK imageWithPath:imagePath]

                                                      title:@"廣源鋁業(yè)"

                                                        url:@"http://www.apple.com/itunes//us/app"

                                                description:@"廣源鋁業(yè)下載"

                                                  mediaType:SSPublishContentMediaTypeNews];

       

           //自己設(shè)置分享平臺列表

           NSNumber *sinaWeiBo=[NSNumber numberWithInt:ShareTypeSinaWeibo];

           NSNumber *qqWeiBo=[NSNumber numberWithInt:ShareTypeTencentWeibo];

           NSNumber *weiXinSpace=[NSNumber numberWithInt:ShareTypeWeixiTimeline];

           NSArray * myShareList=  [ShareSDKcustomShareListWithType:sinaWeiBo,qqWeiBo,weiXinSpace,nil];

          //分享設(shè)置  就是分享面板上的某些內(nèi)容的顯示樣式

          id<ISSShareOptions> shareOptions =[ShareSDK defaultShareOptionsWithTitle:@"一鍵分享"

                                                                   oneKeyShareList:nil

                                                                cameraButtonHidden:NO

                                                               mentionButtonHidden:NO

                                                                 topicButtonHidden:NO

                                                                    qqButtonHidden:YES

                                                             wxSessionButtonHidden:YES

                                                            wxTimelineButtonHidden:YES

                                                              showKeyboardOnAppear:NO

                                                                 shareViewDelegate:nil

                                                               friendsViewDelegate:nil

                                                             picViewerViewDelegate:nil ];

       

          [ShareSDK showShareActionSheet:nil

                               shareList:myShareList

                                 content:publishContent

                           statusBarTips:YES

                             authOptions:nil

                            shareOptions: shareOptions

                                  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], [errorerrorDescription]);

                                      }

                                  }];

      }

       

      posted on 2014-02-07 16:11  ACM_Someone like you  閱讀(380)  評論(0)    收藏  舉報

      導(dǎo)航

      主站蜘蛛池模板: 亚洲欧美综合在线天堂| 中文字幕乱码视频32| 色综合久久久久综合体桃花网| 亚洲国产成人AⅤ片在线观看| 国产自拍偷拍视频在线观看| 亚洲精品一区二区三区色| www插插插无码免费视频网站| 亚洲国产精品人人做人人爱| 色综合久久综合久鬼色88| 精品国产精品中文字幕| 一边捏奶头一边高潮视频| 久久日产一线二线三线| 久久精品国产午夜福利伦理| 久久精品国产只有精品96| 亚洲狠狠婷婷综合久久久| 色综合网天天综合色中文| 性欧美暴力猛交69hd| 最新精品国偷自产在线美女足| 国产亚洲亚洲国产一二区| 欧美色综合天天久久综合精品| 奇米四色7777中文字幕| 丁香五月婷激情综合第九色| 污污内射在线观看一区二区少妇| 九九热在线视频免费观看| a级国产乱理伦片在线观看al| 文中字幕一区二区三区视频播放| 久久夜色精品国产亚洲av| 亚洲AV熟妇在线观看| 久久经精品久久精品免费观看| 特黄 做受又硬又粗又大视频| 国产精品小粉嫩在线观看| 欧美老人巨大XXXX做受视频| 久久精品国产www456c0m| 性人久久久久| 天堂va亚洲va欧美va国产| 在线看无码的免费网站| 精品一区二区三区蜜桃麻豆| 亚洲中文字幕无码爆乳| 久久精产国品一二三产品| 国产初高中生粉嫩无套第一次| 美女禁区a级全片免费观看|