objective-cmkmapview

How do you move the legal sign in mapview


I wonder if anyone know how you move the legal sign on a mapview, right now my toolbar is covering it. Does anyone know how? There is lot's of help with the google logo but nothing on the apple maps.

Legal sign in bottom left corner


Solution

  • This should work, although I'm not sure whether Apple will allow you to do that

    UILabel *attributionLabel = [mapView.subviews objectAtIndex:1];
    attributionLabel.center = CGPointMake(attributionLabel.center.x, attributionLabel.center.y - 44.0f);