我有一个UIAlertView从一个重新加载按钮与2个按钮- OK和取消。Cancel按钮可以正常工作,但是当我想在OK按钮中放一些动作(再玩一次游戏)时,除非该动作是一个NSLog,否则不能工作。
我在m文件中的代码:
- (IBAction)startAgainAction:(id)sender {
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"Warning" message:@"Have you short that want st