The first step, the introduction
1. Download the SDK address http://developer.baidu.com/map/index.php?title=iossdk/sdkiosdev-download
2. Extract the Baidumap_iossdk_v2.3.0_lib, add the folder in the third party in the project Baidumap
Then put it in the folder (1:INC;2:MAPAPI.BUNDLE;LIBBAIDUMAPAPI.A)
The second step, create Baidu map application
1.Http://lbsyun.baidu.com/apiconsole/key Create an app here. Name casually. Application type: for Mobile. Security code:Bundle Identifier. When created, an AK is generated
The third step, application configuration
1, Targets->build settings->linking->other Linker Flags to-all_load (when using XCODE5, use Xib is not used in code is set to-OBJC)
2, when using the map on the simulator, select the LIBBAIDUMAPAPI.A under Release-iphoneos (this is the LIBBAIDUMAPAPI.A in the introduction of the first step)
When using map on a real machine, select LIBBAIDUMAPAPI.A under Release-iphonesimulator
Fourth step, OK, you can use the