我是XCode领域的新手,想知道是否有人可以帮助我。基本上,我正在研究WWDC2010的TileMap项目示例,并试图找出一种使用分段Controller隐藏其NOAA图表的方法。我可以激活叠加层并且它显示正常,但我终生无法使用分段Controller将其删除。这是头文件中的一些代码:@interfaceViewController:UIViewController{IBOutletMKMapView*map;IBOutletUISegmentedControl*controller;}-(IBAction)switchMap:(id)sender;@end这是.m的代码:-(void