I'm implementing a map view specific location with longitude and latitude.like below.
self.hotelmapView.showsUserLocation = YES;
self.hotelmapView.showsBuildings = YES;
locationManager = [CLLocationManager new];
if ([locationManager respondsToSelector:@selector(requestWhenInUseAuthorization)]) {
[locationManager requestWhenInUseAuthorization];
}
//[locationManager startUpdatingLocation]; --> no need to add this for real devices.else should add this.
MKPointAnnotation *annotationPint = [MKPointAnnotation new];
annotationPint.title = @"anuradh hotel name";
annotationPint.coordinate = CLLocationCoordinate2DMake(51.585300, -0.1257480);
notationarray = [NSMutableArray new];
[notationarray addObject:annotationPint];
NOTE : This works fine in simulator.when I test with the device, I have to zoom out to see the map(pin showing with square table,not showing the map)