Join GitHub today
Fix out-of-memory crashes on iOS when creating maps #467
Description of Change
On iOS 10, constructing a new map view leaks memory; after constructing a sufficient number of them, the app will be ejected for memory use. This change pools instances of MKMapView on iOS 10, reusing them to reduce the number of instances created and minimize the leaked memory.
This change also cleans up the