Предупреждение об ошибке «Ошибка ограничивающего прямоугольника в MKMapView» - PullRequest
1 голос
/ 22 апреля 2019

У меня есть 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}>

Что это за предупреждение и как я могу исправить это предупреждение?Поскольку я предполагаю, что это предупреждение не соответствует количеству аннотаций.

...