在iOS7出现之前,我在iOS版本中使用以下代码没有问题,现在当我尝试在iOS7上运行它时,我得到了不想要的结果。
[self.view setUserInteractionEnabled:YES];
mAlert=[[UIAlertView alloc] initWithTitle:@"Alert" message:@"There are no more reports matching this search query." delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil