Skip to content

Conversation

@fawkeswei
Copy link

Add conditional compilation for use on watchOS

- Added watchOS(.v10) to supported platforms
- Wrapped MKMapView-dependent functions with #if !os(watchOS)
- Functions wrapped: currentZoom, currentRoundedZoom, coordinateRegion
- These functions are only for map display/zoom, not coordinate conversion
- Added platform conditional for tileLength() function
- UIScreen is unavailable on watchOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant