How i can add label and search bar in Google map iOS?

783 Views Asked by At

I’m building an iOS app using storyboards.I integrated google map in my app and created IBOutlet of GMSMapView,search bar and label.

I dragged a search bar and label in the map screen but its not displaying when i run my app map it is displaying in the whole screen but label and search bar is not displaying.

enter image description here

1

There are 1 best solutions below

0
On

You've added it wrongly. If you want to show google map as full (height x width) of your screen, then you should first add google map, and then (above it) you've to add any other objects. In current scenario, google map view overlap your label and search bar (however its there).