IOS 8 Map

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.