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 -

google shop client API returns 400 bad request error while adding an item -