zoukankan      html  css  js  c++  java
  • iOS开发中,应用内直接跳转到Appstore

    iOS开发中,应用内直接跳转到Appstore

    1.进入appstore中指定的应用
    NSString *str = [NSString stringWithFormat: 
                             @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=%d", 
                             myAppID ];  

            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];

            其中myAppID为itunesconnect中的应用程序id



    2.进入首页

    NSString *str = [NSString stringWithFormat: 

                             @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",
                             m_myAppID ];  
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];

  • 相关阅读:
    whoami
    w
    id
    su
    chpasswd
    chage
    password
    scrapy框架中Download Middleware用法
    scrapy框架持久化存储
    scrapy框架中Item Pipeline用法
  • 原文地址:https://www.cnblogs.com/zmloveworld/p/5457445.html
Copyright © 2011-2022 走看看