How do you move the legal sign in mapview

后端 未结 11 2065
别跟我提以往
别跟我提以往 2020-12-05 20:24

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

11条回答
  •  广开言路
    2020-12-05 20:46

    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);
    

提交回复
热议问题