//跳轉到應用頁面
app
[[
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]];