ios - Xcode: My user location doesn't show the first time I run the simulation but the second time it does -
whenever first open project , hit build , run first time app won't focus on current user location. if stop simulation , build again , run it, focus on user location want to. can't figure out why this, wrong simulator or wrong code?
super viewdidload]; self.mapview.showsuserlocation = yes; self.mapview.delegate = self; [self.mapview setusertrackingmode:mkusertrackingmodefollow animated:yes];
did try debug->location service ? try this
Comments
Post a Comment