First, in the use of the high-D map API, there is no way to achieve positioning, here to say in the real machine test when there is no location should pay attention to some of the problems and solutions.
1. Add Mapview to Self.view, [Self.view AddSubView:self.mapView];
2. Add an attribute nslocationalwaysusagedescription in the plist file .
3. Set a property of Mapview, Self.mapView.showUserLocation = yes, this property must be set to Yes.
4. Set another property of Mapview, Self.mapView.userTraceMode = 1, and set this property to 1.
Second, in the use of high-gold map API, will also meet a problem, is always prompt: Invalid_user_scode. When it comes to this problem, the general problem is that you don't have to start using this key value for 10 minutes after registering key. Another situation is that the key value of the registration is a problem, you should re-register a key value, when registering, when filling bundleidentifier, preferably in the program with [NSBundle Mainbundle].bundleidentifier; Print the Bundleidentifier and copy it to the registered Bundleidentifier location, and then register a new key to reuse it.
IOS Gold Map API does not locate and invalid_user_scode problems