2010-12-02 3 views

답변

2

위치를 주셔서 감사합니다 :

  • GPS 위성 정보를 사용할 수 있도록 장치는 더 이상 하늘에 합리적으로 오픈 액세스가 없습니다 .

  • 삼각 측량을 수행하기에 충분한 셀 타워가 없습니다.

  • wifi 액세스 포인트가 알려진 액세스 포인트의 데이터베이스에 없습니다.

  • 사용자가 비행기 모드로 전환했습니다.

등. 위치 인식 응용 프로그램은 언제든지 위치 정보를 잃을 것이라고 가정해야합니다. 그것은 종종 나중에 다시 온다.

2

은 위치에 어떤 업데이트는 다음이 대표는 문제가 뭐죠 당신은 알 수

- (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error 
{ 
switch([error code]) 
{ 
    case kCLErrorLocationUnknown: 
    //The location manager was unable to obtain a location value right now 

    case kCLErrorDenied: 
    //Access to the location service was denied by the user 

    case kCLErrorNetwork: 
    //The network was unavailable or a network error occurred. 

    case kCLErrorHeadingFailure: 
    // The heading could not be determined. 
} 

를 호출 할 수있는 당신이 얻을 didnt는 경우.

관련 문제