MKMapView changes physical position in the view

I've put an MKMapView in a view at certain x-y coordinates (x:25 y:120) at a size that's about a third of the view tall and fills much of the width (w:275, h:150). There are other elements in the view, mostly labels and buttons.

When looking at it after having it appear [edited to add: while running the app in the simulator] (pushed onto a UINavigationController stack, a detail view of a table cell) everything on the page is in its appropriate place EXCEPT for the MKMapView, which is always its height further up on the page. That is, in the case of the measurements shown above it actually puts it at x:25 y:-30. If I move it further down the page, say y:300, it still moves it up the height of the map, in this case to y:150.

Why does it keep moving? It's a terrible hack to initially position it 150 pixels farther down the view in order to have it end up at the right place.


The autosizing options needed to be set such that the top, bottom, left, right, and height were all solid (unchangeable). This may have been related to it being in a scrollview, though I'm not sure.

Need Your Help

How convert CT Dicom Files to HU(positive values)?


I'm working on DICOM files(CT files).I want to use Rescaleslope and Rescaleintercept for converting my data to HU with relation:

Joomla Version History Bug - UCM_History table

php mysql joomla

I am getting the following error in my joomla 3.4.8 site all of a sudden. Only on articles though - can anyone help? If I clear the table data it enters the first row fine but then errors again (du...