SpringBoard 또는 imagent에서 CLLocationManager를 사용하지만 CLLocationManager를 할당 할 때 오류가 발생했습니다. with:depending on legacy on-demand authorization, which is not supported for new apps
. 도 locationd 과정에서, 나는 같은 상황을 가지고 ...SpringBoard에서 CLLocationManager를 사용했지만 오류가 발생했습니다. 새로운 응용 프로그램에서는 지원되지 않는 기존 주문형 인증에 따라 다릅니다.
%hook SpringBoard
-(void)applicationDidFinishLaunching: (id)application {
CLLocationManager *locationMgr = [[CLLocationManager alloc] init];
%orig;
}
%end
어떻게 그런 과정에서 위치 정보를 얻을 수있다 질문? 아니면 앱의 권한을 변경할 수 있습니까?
이 봐 제발 내 대답 읽을 http://girijeshkumar2007.blogspot.in/2014/10/ios-8-location-services-update.html –
그러나 문제는 그 시스템 애플 리케이션, 나는 그들의 Info.plist를 바꿀 수 없다는 것입니다 .. –