title: MKMapView: user location pin color change to gray automatically
body: <p>This is strange, I have a <code>ViewController</code> which adds a <code>MKMapView</code> as a subview. There are some steps in the application which when executed causes the user location pin to change its color from blue to gray.</p>
  
  <p>I have investigated in the following</p>
  
  <ol>
  <li>there is no place where tintColor is changed in code base</li>
  <li>used <code>KVO</code> to observe tint Color</li>
  <li>analyzed that in "<code>viewWillAppear</code>"(till last line) tintColor is "<code>UIDeviceRGBColorSpace</code> 0 0.478431 1 1" while in "<code>viewDidAppear</code>" tintColor changes to "<code>UIDeviceWhiteColorSpace</code> 0.392275 0.8"</li>
  </ol>
  
  <p>Please elaborate if change in Color Space.</p>
  
  <pre><code> CGFloat mapviewY = self.searchView.frame.origin.y + self.searchView.frame.size.height + 1;
  CGFloat mapviewHeight = self.view.frame.size.height - mapviewY;
  _klMapView = [[KMapMapView alloc] initWithFrame:CGRectMake(kScreenOrigin,
                                                             mapviewY,
                                                             SCREEN_WIDTH,
                                                             mapviewHeight)];
  _klMapView.mapViewDelegate = self;
  [self.view addSubview:_klMapView];
  </code></pre>
  
  <p>Thanks
  Ankit</p>