title: CLLocationmanager "locationServicesEnabled" method deprecated in iOS 4?
body: <p>I know the property locationServicesEnabled is deprecated in iOS 4. Instead, I should call locationServicesEnabled</p>
  
  <p>In my app delegate method</p>
  
  <pre><code>-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      //Some Code Here...
      CLLocationManager *manager = [[CLLocationManager alloc] init];
      if (![manager locationServicesEnabled])
      {   //show an alert
      }
   }   
  </code></pre>
  
  <p>I called the method, however, Xcode showed me a warning "locationServicesEnabled is deprecated". Anyone knows how to fix this? Because of the warning, if I turned off the location service in system preference, the alert view can't show.</p>
  
  <p>Thanks!</p>