我有一个UIAlertView显示此代码,要求您在appstore中评估应用程序.
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Rate on the Appstore!"
message:@""
delegate:self
cancelButtonTitle:@"Later"
otherButtonTitles:@"OK", nil];
[alert show];
[alert release];
Run Code Online (Sandbox Code Playgroud)
但我无法弄清楚如何将操作添加到OK按钮,该按钮将您带到AppStore中的应用程序.