0

내 응용 프로그램에서이 코드 줄을 필요한 순서로 호출하여 지오 펜싱을 사용하고 있습니다. 모든 응용 프로그램의 아이콘이 잠금 화면에 나타날 때 볼 수 있습니다. 장치는 추적 영역에 들어갑니다iOS 8 지오 펜스가 잠금 화면 아이콘에서 열린 응용 프로그램을 처리합니다.

[self.locationManager requestAlwaysAuthorization]; 

[self.locationManager startMonitoringSignificantLocationChanges]; 

[self.locationManager startMonitoringForRegion: [[CLCircularRegion alloc] initWithCenter:CLLocationCoordinate2DMake(airport.latitude.doubleValue, airport.longitude.doubleValue) radius:AFLLocationManager_geofencingTrackingRegionMetersRadius identifier:airport.code]]; 

및 질문은 사용자가 실제로 잠금 화면에 내 응용 프로그램 아이콘을 사용하기 시작/잠금 화면에서 응용 프로그램을 다시 시작할 때이 이벤트를 처리하려면 어떻게 입니까? launchOptions 사전에있는 UIApplicationLaunchOptionsLocationKey은 잠금 화면 이벤트에서 앱을 시작할 때 사용할 수 있다고 생각합니다.하지만 시작하지 않은 앱은 활성화됩니다. 감사!

답변

0

잠금 화면에 앱 아이콘을 표시하고 표시 할 수있는 이벤트는 두 가지가 있습니다. follow link

관련 문제