Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/423.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS MKMapView setCenterCoordinate:方向更改后,横向将更改缩放级别_Ios_Mkmapview_Core Location_Cllocationmanager - Fatal编程技术网

iOS MKMapView setCenterCoordinate:方向更改后,横向将更改缩放级别

iOS MKMapView setCenterCoordinate:方向更改后,横向将更改缩放级别,ios,mkmapview,core-location,cllocationmanager,Ios,Mkmapview,Core Location,Cllocationmanager,使用MKMapView setCenterCoordinate:方向更改后,横向将更改缩放级别。即使虚拟重置为现有值也会更改缩放。这种情况在从纵向到横向的每个方向变化后都会发生一次 步骤: 连接MKMapView和CLLocationManager 调用setCenterCoordinate:最后一个位置 旋转到横向,暂停 旋转到纵向,暂停 重复3和4,地图将继续缩小每次迭代 或者,如果您想直接试用,我有一个压缩的示例项目,包含在Apple Bug Report ID 16146556中,可通过

使用MKMapView setCenterCoordinate:方向更改后,横向将更改缩放级别。即使虚拟重置为现有值也会更改缩放。这种情况在从纵向到横向的每个方向变化后都会发生一次

步骤:

连接MKMapView和CLLocationManager 调用setCenterCoordinate:最后一个位置 旋转到横向,暂停 旋转到纵向,暂停 重复3和4,地图将继续缩小每次迭代 或者,如果您想直接试用,我有一个压缩的示例项目,包含在Apple Bug Report ID 16146556中,可通过


这个问题确实影响了应用程序的可用性,我欢迎任何建议。它出现在真实设备和模拟器中。

在7.1版(已经发布了几天)中,我已经确认您的示例代码工作正常。因此,解决方案是升级到7.1版

多谢各位。当我阅读时,设备正在更新到7.1,并且已经更新了Xcode。