我收到错误消息:expected ':'
可能是因为下面的短语initWithTitle:@"You downloaded %i boards", iboard
。你能帮我解决吗?格式说明符错误
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"You downloaded %i boards", iboard message:@"Press Ok to continue" delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[alert show];
什么方法做,不这样做,为什么你在做的假设?谁告诉过你可以使用可变参数格式和任何期望使用'NSString'的方法? – 2013-03-03 16:04:58