IOS8 modified the content in the location settings, added a set of States (available in use/usually available), so after the registration of the previous cllcationmanage,
The delegate interface is not responding.
IOS8 need to set this up
First step location = [[Cllocationmanager alloc] init]; Location.delegate= self; [Location requestalwaysauthorization]; The second step is to append the following two fields in the plist (must have, at least one, the content is the system alert of classical Chinese, classical Chinese can be empty) Nslocationwheninusedescriptionnslocationalwaysusagedescription The third step has a new delegate method. -(void) Locationmanager: (Cllocationmanager *) Manager didchangeauthorizationstatus: (clauthorizationstatus) Status { switch (status) {Case kclauthorizationstatusnotdetermined: if ("Location Respondstoselector: @selector ( requestalwaysauthorization)]) { [locationrequestalwaysauthorization]; } break; Default: Break ;
Attach the investigation process
Https://developer.apple.com/jp/devcenter/ios/library/documentation/LocationAwarenessPG.pdf
HTTP://WWW.W3C.COM.CN/IOS8 location-based message notification for new features Uilocalnotification
Http://blog.uniba.jp/post/91830563468/ios-8
IOS 8 Map