iOS開發 點擊跳轉到App Store 或者 點擊按鈕去評價

//跳轉到應用頁面app

NSString *str = [ NSString stringWithFormat : @"http://itunes.apple.com/us/app/id%d" ,appid]; 
[[ UIApplication sharedApplication ] openURL :[ NSURL urlWithString :str]];
 
//跳轉到評價頁面
NSString *str = [ NSString stringWithFormat : @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id;=%d" ,   
                          appid ];   
[[ UIApplication sharedApplication ] openURL :[ NSURL urlWithString :str]];
相關文章
相關標籤/搜索