ios - 遇到警告“MKMapView 中的边界矩形错误”
问题描述
我有一个MKMapView
,我正在做集群。
第一次加载 mapView 时出现以下错误。
2019-04-22 11:05:33.003610+0530 Clustering[3528:57208] [Assert] Bounding path likely out of sync with its coordinate space: The view's bounds must contain the bounding rect. Bounding rect: {{0, 0}, {375, 559}}; coordinate space: <UIScrollView: 0x7fc9f1863a00; frame = (0 0; 375 559); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x6000024ab000>; layer = <CALayer: 0x600002ae5380>; contentOffset: {375, 0}; contentSize: {750, 559}; adjustedContentInset: {0, 0, 0, 0}>
2019-04-22 11:05:33.003929+0530 Clustering[3528:57208] [Assert] Bounding path likely out of sync with its coordinate space: The view's bounds must contain the bounding rect. Bounding rect: {{0, 0}, {375, 559}}; coordinate space: <UIScrollView: 0x7fc9f1863a00; frame = (0 0; 375 559); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x6000024ab000>; layer = <CALayer: 0x600002ae5380>; contentOffset: {375, 0}; contentSize: {750, 559}; adjustedContentInset: {0, 0, 0, 0}>
2019-04-22 11:05:33.004344+0530 Clustering[3528:57208] [Assert] Bounding path likely out of sync with its coordinate space: The view's bounds must contain the bounding rect. Bounding rect: {{0, 0}, {375, 559}}; coordinate space: <UIScrollView: 0x7fc9f1863a00; frame = (0 0; 375 559); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x6000024ab000>; layer = <CALayer: 0x600002ae5380>; contentOffset: {375, 0}; contentSize: {750, 559}; adjustedContentInset: {0, 0, 0, 0}>
2019-04-22 11:05:33.014910+0530 Clustering[3528:57208] [Assert] Bounding path likely out of sync with its coordinate space: The view's bounds must contain the bounding rect. Bounding rect: {{0, 0}, {375, 559}}; coordinate space: <UIScrollView: 0x7fc9f1863a00; frame = (0 0; 375 559); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x6000024ab000>; layer = <CALayer: 0x600002ae5380>; contentOffset: {375, 0}; contentSize: {750, 559}; adjustedContentInset: {0, 0, 0, 0}>
2019-04-22 11:05:33.015356+0530 Clustering[3528:57208] [Assert] Bounding path likely out of sync with its coordinate space: The view's bounds must contain the bounding rect. Bounding rect: {{0, 0}, {375, 559}}; coordinate space: <UIScrollView: 0x7fc9f1863a00; frame = (0 0; 375 559); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x6000024ab000>; layer = <CALayer: 0x600002ae5380>; contentOffset: {375, 0}; contentSize: {750, 559}; adjustedContentInset: {0, 0, 0, 0}>
2019-04-22 11:05:33.016501+0530 Clustering[3528:57208] [Assert] Bounding path likely out of sync with its coordinate space: The view's bounds must contain the bounding rect. Bounding rect: {{0, 0}, {375, 559}}; coordinate space: <UIScrollView: 0x7fc9f1863a00; frame = (0 0; 375 559); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x6000024ab000>; layer = <CALayer: 0x600002ae5380>; contentOffset: {375, 0}; contentSize: {750, 559}; adjustedContentInset: {0, 0, 0, 0}>
这个警告是什么,我该如何解决这个警告?因为我认为这个警告会弄乱注释计数。
解决方案
推荐阅读
- angular - 多个组件将节点与标记名 app-lobby 匹配
- android - 我可以在 Android XML 布局中创建可重用组件吗?
- python - 将不相等的列表解包到熊猫数据框中
- adafruit-circuitpython - 使用 CircuitPython 将字节数组发布到 URL 时出错
- python - Pandas 通过多个正则表达式捕获组创建多个列
- html - Dompdf在页面之间生成空白页
- python - 检查屏幕输入字符串中是否存在单元格内容 - Python Pandas
- hyperledger-fabric - Hyperledger Fabric 交易速度
- android - 如何在android中动态地从数据库值填充AnyChart?
- c# - C# WPF datagrid 查找和删除行