单击 MKMapView 标注气泡时,我触发了一个
DetailsViewController *details = [[DetailsViewController alloc] initWithNibName:@"DetailsViewController" bundle:nil];
[self presentModalViewController:details animated:YES];
[details release];
在 DetailsViewController 中,我将背景设置为透明:
self.view.backgroundColor = [UIColor colorWithHue:0.0 saturation:0.0 brightness:1.0 alpha:0.2];
当我单击标注时,我看到动画开始(出现 DetailsView 并且是透明的),但是当动画完成后,它不再透明。