Search code examples
iosiphonemkmapviewmapkituistoryboard

MKMapView contraints in storyboard issue


I have this constaints for map view

enter image description here

enter image description here

But I have this error

enter image description here

If I replace map view with UIView, everything is OK

Update

To reproduce you need to set settings of view controller like this:

enter image description here


Solution

  • OK got it solved at my end. Change the MKMapView's frame x:0 y:0 Width:375 Height:554 and than see is it still there or not.

    See the setting. It is as same as you have

    Update the frame

    Note: Sorry Don't know How to add images in answer.