MapView in iOS 10

I just got a new iPhone SE running 10.1.

For the application I’ve been working on (now available in AppStore and Google Play!) I needed to know where the user was, but I did not need to show the user the map. I was able to do this by placing the map off screen. Worked fine.

With the new phone/OS, placing the map off screen returns lat/long of 0/0, which does not help at all. If I put it on the screen, the map flashes on until I get the location at which point I get rid of the map. It works, but it looks a little strange.

Any suggestions?

-Bob Gordon

Oh. The app is call The Program Program. It puts theater programs on your phone.

A quick follow-up: If I make a very little map and place it up in the corner, things work, and it’s basically not visible:

mapView   = native.newMapView(0,0,1,1)

mapView.x = 0 

mapView.y = 0

Unless there’s a better (more proper) solution, I think I can live with this.

A quick follow-up: If I make a very little map and place it up in the corner, things work, and it’s basically not visible:

mapView   = native.newMapView(0,0,1,1)

mapView.x = 0 

mapView.y = 0

Unless there’s a better (more proper) solution, I think I can live with this.