您如何在Mapview中移动法律标志 [英] How do you move the legal sign in mapview

查看:98
本文介绍了您如何在Mapview中移动法律标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人知道您如何在地图视图上移动合法标志,现在我的工具栏正在覆盖它.有人知道吗? Google徽标有很多帮助,但苹果地图上没有任何帮助.

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.

推荐答案

这应该有效,尽管我不确定Apple是否允许您这样做

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

这篇关于您如何在Mapview中移动法律标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆