我正在尝试制作一个导航应用但是当我尝试导航并显示“MKRoutePolyline时,这个应用程序崩溃了interiorPolygons:无法识别的选择器发送到实例0x14ed4b4d0"我的代码有什么问题?importUIKitimportMapKitclassMapViewController:UIViewController,MKMapViewDelegate{varfarm:Farm!varcurrentPlacemark:CLPlacemark?letlocationManager=CLLocationManager()varcurrentTransportType=MKDir
我正在尝试制作一个导航应用但是当我尝试导航并显示“MKRoutePolyline时,这个应用程序崩溃了interiorPolygons:无法识别的选择器发送到实例0x14ed4b4d0"我的代码有什么问题?importUIKitimportMapKitclassMapViewController:UIViewController,MKMapViewDelegate{varfarm:Farm!varcurrentPlacemark:CLPlacemark?letlocationManager=CLLocationManager()varcurrentTransportType=MKDir