2

How would I move the current location button in objective-c to my preference?

Right now, I have it enabled, but I have something blocking it in the bottom corner.

enter image description here

Thanks

Pangu
  • 3,721
  • 11
  • 53
  • 120
  • possible duplicate of [Google Maps iOS SDK move "My Location" button to bottom left hand corner](http://stackoverflow.com/questions/16879694/google-maps-ios-sdk-move-my-location-button-to-bottom-left-hand-corner) – Toseef Khilji Nov 17 '14 at 08:36

1 Answers1

3

You can use padding to move the button up:

self.mapView.padding = UIEdgeInsets(top: 0, left: 0, bottom: 50, right: 0)
Greg
  • 25,317
  • 6
  • 53
  • 62