After updating Baidu map SDK2.5 version
1. If you do not know which version of the previous SDK , you need to request a new Key
2. add in info.plist: Bundle Display Name--${product_name}
3. The new SDK Static library is implemented with objectc++, you need to change any file suffix to. mm
4. Add:( info.plist add default foreground use )
Nslocationwheninuseusagedescription->yes//Allow GPS description for use in front of the reception
Nslocationalwaysusagedescription->yes// allow permanent use of GPS description
5. There is no attribute userlocation in the new version Bmkmapview,
Userlocation property in Bmklocationservice
6. It is recommended that the instance of Bmkmapmanager not be declared as a local variable, otherwise the instance is released, which can seriously affect the use of the map.
Cannot release manager in non-arc
Go to map do not load data solution
[Self.locmanager startupdatinglocation];
Because the mapview Center point is set to the coordinates of xx , when the mobile map finger is released , the pin will return to that point.
[_mapview Setcentercoordinate:degressvalue];
You need to modify the magnification level because you canceled the pin position to the center point
TheRegion.span.longitudeDelta = 0.XXXF;
TheRegion.span.latitudeDelta = 0.XXXF;
I tested it on the IPhone6 plus.
No tests on simulator
iOS Project replacement Baidu maps 2.5 version, suitable for iPhone6 and iPhone6 plus problems