真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

App之間的跳轉(zhuǎn)-創(chuàng)新互聯(lián)

App之間的跳轉(zhuǎn)

創(chuàng)新互聯(lián)是專(zhuān)業(yè)的汝城網(wǎng)站建設(shè)公司,汝城接單;提供成都網(wǎng)站設(shè)計(jì)、做網(wǎng)站、成都外貿(mào)網(wǎng)站建設(shè)公司,網(wǎng)頁(yè)設(shè)計(jì),網(wǎng)站設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專(zhuān)業(yè)做網(wǎng)站服務(wù);采用PHP框架,可快速的進(jìn)行汝城網(wǎng)站開(kāi)發(fā)網(wǎng)頁(yè)制作和功能擴(kuò)展;專(zhuān)業(yè)做搜索引擎喜愛(ài)的網(wǎng)站,專(zhuān)業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來(lái)合作!

1,添加URL Types項(xiàng)

a,打開(kāi)項(xiàng)目中.xcodeproj下的info目錄,增加一項(xiàng)URL Typs
 App之間的跳轉(zhuǎn)

2,配置URL Scheme

a,將URL identifie選項(xiàng)為com.KeYi.lsf

b,將URL Scheme選項(xiàng)的內(nèi)容修改為lsf

 - (BOOL)application:(UIApplication *)application
           openURL:(NSURL *)url
 sourceApplication:(NSString *)sourceApplication
        annotation:(id)annotation
{
//抓取url
   if (!url) {
       return NO;
   }else {
       if ([[url host] isEqualToString:@"expert"]) {

           NSArray *codeArr = [[url query] componentsSeparatedByString:@"="];
           if (codeArr.count >0) {
               if (self.window.rootViewController) {
                   BaseTabBarController *tabBarController = (BaseTabBarController*)self.window.rootViewController;
                   BaseNavigationController * bnc = (BaseNavigationController*)tabBarController.selectedViewController;
                   HomeDetailController * hdc = [[HomeDetailController alloc]init];
                   hdc.expertInfoDic = @{@"expertUserId":codeArr[1]};
                   [bnc pushViewController:hdc animated:YES];
               }else {

               }
           }
           return YES;
       }else if ([[url host] isEqualToString:@"topic"]) {
           NSArray *codeArray = [[url query] componentsSeparatedByString:@"&"];
           NSArray *codeArr = [codeArray[0] componentsSeparatedByString:@"="];
           NSArray *otherArr = [codeArray[1] componentsSeparatedByString:@"="];
           if (codeArr.count > 0) {
               if (self.window.rootViewController) {
                   BaseTabBarController *tabBarController = (BaseTabBarController*)self.window.rootViewController;
                   BaseNavigationController * bnc = (BaseNavigationController*)tabBarController.selectedViewController;
                   ExpertDetailController * edc = [[ExpertDetailController alloc]init];
                   edc.topicInfo = @{@"topicId":codeArr[1],@"expertUserId":otherArr[1]};
                   [bnc pushViewController:edc animated:YES];
               }else {

               }

           }
           return YES;
       }

   }
...
}

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線(xiàn),公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性?xún)r(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專(zhuān)為企業(yè)上云打造定制,能夠滿(mǎn)足用戶(hù)豐富、多元化的應(yīng)用場(chǎng)景需求。


文章標(biāo)題:App之間的跳轉(zhuǎn)-創(chuàng)新互聯(lián)
URL標(biāo)題:http://weahome.cn/article/hphhh.html

其他資訊

在線(xiàn)咨詢(xún)

微信咨詢(xún)

電話(huà)咨詢(xún)

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部