Skip to content

v0.6.1

Compare
Choose a tag to compare
@1ec5 1ec5 released this 06 Jun 22:28
· 130 commits to master since this release

Changes since v0.6.0:

  • When the request fails due to rate limiting, an invalid access token, or other invalid input, the completion handler’s error parameter contains an NSError object with an explanation of the reason for the failure and a recovery suggestion. (#32, #34)
  • Renamed Snapshot.requestURL to simply URL. (#31)
  • Requests sent through this library now use a more specific user agent string, so you can more easily identify this library on your Statistics page in Mapbox Studio. (#33)
  • Fixed a crash when requesting images between 640 and 1,280 points tall or wide on Retina displays.

To install this release via CocoaPods, point your Podfile to:

pod 'MapboxStatic.swift', :git => 'https://github.com/mapbox/MapboxStatic.swift.git', :tag => 'v0.6.1'