我试图在我的map上显示折线,但该线没有显示。我尝试了很多东西,但注意似乎有效。我检查了CoreData函数,它正在返回数据,所以这不是问题所在。它必须是我在map点创建或map上绘制的某个地方(我猜)。我确定它一定是某个地方出了点小错误,但我找不到它。我的代码:-(void)viewDidLoad{[superviewDidLoad];AppDelegate*appDelegate=[[UIApplicationsharedApplication]delegate];mapView.delegate=self;}-(void)createLine{AppDelegate*appDel