In the use of Baidu map development when the problem arises, the problem is:
IOS SDK Baidu Map does not display properly, only display grid
The problems that arise here have been tangled for a long time, and finally found the need to enter a security code when creating an application in the API console
This security code is then known as the bundle in the project Identifier
So we need to fill in the project Info.plist file set bundle identifier and security code as can be
In addition, there are some areas to note
Attention:
1. In order to provide better service to users, IOS SDK has introduced a new key verification system since the v2.0.2 version. Therefore, when you choose to use the v2.0.2 and later version of the SDK, you need to go to the new Key application page for the new key application;
2. The new, old key is not universal, that is, the new key can only be used in v2.0.2 and subsequent versions of the SDK, the old key is only applicable to v2.0.1 and previous versions of the SDK. We will keep the old key service for a long time, please feel free to use it.
Note: Since the iOS8, the system positioning function has been upgraded, the SDK in order to achieve the latest adaptation, Since v2.5.0 has also made the corresponding changes, developers in the use of positioning function, need to add in the Info.plist (the following two select one, two are added by default using Nslocationwheninuseusagedescription):
Nslocationwheninuseusagedescription, allowing the GPS description to be used in the foreground
Nslocationalwaysusagedescription, allow permanent use of GPS description
Article reference: http://www.wahenzan.com/a/mdev/ios/2015/0113/1487.html
IOS SDK Baidu Map does not display properly, only display grid