iOS開發--跳轉進入AppStore評論頁面

如下:

            NSString *appID = @"AppID;
            NSString *url = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@", appID];
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];
進入App頁面:

            NSString *appID = @"AppID";
            NSString *url = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@", appID];
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章