I also encountered this issue. Noticed it was when displaying a map within a .pagesheet modal presentation.
let vc = MapVC()
vc.modalPresentationStyle = .pageSheet
self.present(vc, animated: true)
If I change modal presentation to .fullscreen, the warning disappear.
let vc = MapVC()
vc.modalPresentationStyle = .fullScreen
self.present(vc, animated: true)
With .pagesheet mode, the UIViewController is presented smaller than the full screen size. So I guess this warning is a bug in the mapkit library caused by this type of modal presentation style...
Topic:
App & System Services
SubTopic:
Maps & Location
Tags: