ios - 移动苹果 map 苹果标志 "legal"文字

标签 ios swift xcode maps

有没有办法从 mkmapview 底部操纵、移动苹果 Logo 和“合法”文本?

谷歌地图有什么。

Image to see what I'm trying to move around

最佳答案

您可以通过设置 mapViewlayoutMargins 来更改它。例如,这会将其从底部移出:

mapView.layoutMargins.bottom = -100 // removes the 'legal' text
mapView.layoutMargins.top = -100 // prevents unneeded misplacement of the camera

关于ios - 移动苹果 map 苹果标志 "legal"文字,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59161733/

相关文章:

ios - 选定行的自定义复选标记

ios - 是否可以在视频中添加模糊效果?

php - 将图像从 iOS/Swift 上传到 PHP 服务器

ios - 计算 GMSPolygon 面积

ios - Xcode 5 调试器不打印对象

ios - 将 App 设置为在 iPhone 5+ 上运行

ios - 将 UIScrollView scrollIndicatorInsets 定位到边缘,没有间距?

ios 在 Masonry 中设置 uiscrollview 的 contentsize

ios - 在 iPhone 中连续播放 1 个声音片段而不会出现任何中断

arrays - 通过removeAtIndex(Index : Int) function)从数组中删除特定元素时出现问题