iOS Baidu Map Development Series-Baidu map does not display properly

Source: Internet
Author: User


Sometimes when we use the Baidu map, it will produce such problems (such as)

The crux of the problem is that the security code of the Baidu map key we applied to does not match the value of Bundle Identifier in our project.

So it appears that the map shows only gray grids and no maps.


WORKAROUND: Make both values the same

Project, info.plist File settings



Baidu Map Key Settings interface


As a result, Baidu map is normal display.


If this is still not the normal display, in the use of WiFi children's shoes, you might want to run the project under 3G try.


Here, the reminder has already applied for key, and now ready to use its children's shoes, key and Baidu Map SDK has changed, I just did not look closely at the API description and has been using the previous key, resulting in the map does not display properly.



iOS Baidu Map Development Series-Baidu map does not display properly

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.