iOS 点击跳转AppleStore

NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=这里要填写程序的appID" ];

    if( ([[[UIDevice currentDevicesystemVersiondoubleValue]>=7.0)){

        str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id这里要填写程序的appID(不要删除前边的id)"];

    }

    [[UIApplication sharedApplicationopenURL:[NSURL URLWithString:str]];


//写到button点击事件里就可以 

阅读更多
换一批

没有更多推荐了,返回首页