iphone - How to show google map in ios8 with current location all annotation pin -
i have show google map in ios8.0. able open google map but map not coming clearly. please check screenshot. have given permission in info.plist , written corresponding code... please check below...
self.mlocationmanager = [[cllocationmanager alloc] init]; self.mlocationmanager.delegate = self; self.mlocationmanager.desiredaccuracy=kcllocationaccuracybest; self.mlocationmanager.distancefilter = kdistancefivehundredmeters; if ([self.mlocationmanager respondstoselector:@selector(requestwheninuseauthorization)]) { [self.mlocationmanager requestwheninuseauthorization]; } if ([self.mlocationmanager respondstoselector:@selector(requestalwaysauthorization)]) { [self.mlocationmanager requestalwaysauthorization]; } [self.mlocationmanager startupdatinglocation];
and want show current location , annotation showing on map on map rect. how it?
info.plist
nslocationalwaysusagedescription location required find out nslocationwheninuseusagedescription location required find out
Comments
Post a Comment