[iOS]iOS8 시뮬레이터에서 GPS 값 받기, CLLocationManager 대응.
iOS8 버전부터 CLLocationManager 대응하는 방법이 달라졌습니다.locationManager = [[CLLocationManager alloc] init]; locationManager.distanceFilter = kCLDistanceFilterNone; locationManager.desiredAccuracy = kCLLocationAccuracyBest; locationManager.delegate = self; [locationManager startUpdatingLocation]; //iOS8 대응 if([locationManager respondsToSelector:@selector(requestAlwaysAuthorization)]) { [locationManager reque..
iOS/자료정리
2014. 11. 17. 23:54
반응형