I am using Google map but it's not set properly in subView.
I am using swift 3.
@IBOutlet weak var mapSubView: UIView!
var mapView:GMSMapView!
var placesClient: GMSPlacesClient!
I have used the following code in viewDidLoad:
let camera = GMSCameraPosition.camera(withLatitude: 28.616536, longitude: 77.379552, zoom: 12.0)
mapView = GMSMapView.map(withFrame: mapSubView.bounds, camera: camera)
mapSubView.addSubview(mapView)
mapView.delegate = self
self.drawPath()
placesClient = GMSPlacesClient.shared()
Screenshot from my simulator:
You have see white space in right side near google map
And a screenshot from my storyboard:

