objective c - Open MKMapView to the users current location without starting at US zoom level -


i using mkmap view, when map first loads show entire united states. zooms current location.

is there way make map load specific zoom level?

i start cllocationmanager , implemented following method.

-(void)locationmanager:(cllocationmanager *)manager didupdatelocations:(nsarray *)locations 

i use setregion no matter map starts @ level zooms region set setregion?

your problem seems setregion doesn't work.

i found post: mkmapview : setregion doesn't work !

it seems similar problem. if setting mkmapview's region early, in viewdidload?, it's possible mapview hasn't acquired it's final frame yet. try moving setregion viewdidappear , see if makes difference.

cheers!


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -