title: iOS Simulators doesnt render layer as real device
body: <p>On my iOS app I use a Google Maps view with a GMSLayer, the transparency renders correctly on a real device but the background is white on Simulator, I can't make the screenshots for the App Store...</p>
  
  <p><a href="https://i.stack.imgur.com/kuqM5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kuqM5.png" alt="On Simulator (iPhone XR)"></a>
  <a href="https://i.stack.imgur.com/nT6WZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nT6WZ.jpg" alt="On real device"></a></p>
  
  <p>And this is the code I use :</p>
  
  <pre><code>// Implement GMSTileURLConstructor
      // Returns a Tile based on the x,y,zoom coordinates, and the requested floor
  
      let urls: GMSTileURLConstructor = {(x, y, zoom) in
          let url = "http://wxs.ign.fr/[KEY]/geoportail/wmts?LAYER=TRANSPORTS.DRONES.RESTRICTIONS&amp;FORMAT=image/png&amp;SERVICE=WMTS&amp;VERSION=1.0.0&amp;REQUEST=GetTile&amp;STYLE=normal&amp;TILEMATRIXSET=PM&amp;TILEMATRIX=" + String(zoom) + "&amp;TILEROW="+String(y)+"&amp;TILECOL="+String(x)
          return URL(string: url)
      }
  
      // Create the GMSTileLayer
  
      let layer = GMSURLTileLayer(urlConstructor: urls)
  
      layer.zIndex = 0
      layer.map = mapView
  
  class TestTileLayer: GMSSyncTileLayer {
  override func tileFor(x: UInt, y: UInt, zoom: UInt) -&gt; UIImage {
  
      let url = URL(string : "http://wxs.ign.fr/[KEY]/geoportail/wmts?LAYER=TRANSPORTS.DRONES.RESTRICTIONS&amp;FORMAT=image/png&amp;SERVICE=WMTS&amp;VERSION=1.0.0&amp;REQUEST=GetTile&amp;STYLE=normal&amp;TILEMATRIXSET=PM&amp;TILEMATRIX=" + String(zoom) + "&amp;TILEROW="+String(y)+"&amp;TILECOL="+String(x))
  
      return UIImage(data: try! Data(contentsOf: url!))!
  }
  }
  </code></pre>
  
  <p>I'm sure the image given by the URL uses transparency and I tried to manually change the white pixel to transparent but it doesn't change anything...</p>