IOS Baidu map development series-Baidu map cannot be displayed normally

Source: Internet
Author: User

Sometimes this problem occurs when we use Baidu map (for example)

The key to the problem is that the security code of the Baidu map key we applied for does not match the value of bundle identifier in our project.

So there will be a map that only shows a gray grid without a map.


Solution: Set the values of the two to the same

In the project, set the info. plist File



Baidu map key settings page


As a result, Baidu map is displayed normally.


If it still cannot be properly displayed at this time, try running the project in 3G if you are using WiFi kids shoes.


Here, I would like to remind you that you have applied for a key before and that the keys and Baidu map sdks for using it have changed, I just keep the previous key without looking at the API instructions, and the map cannot be displayed normally.



Related Article

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.