Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Specify ultra light weight literally #5497

Merged
merged 1 commit into from
Jun 28, 2016

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jun 28, 2016

Fixed a crash on iOS 8.1 and below due to specifying the compass legend’s font weight using a font weight constant that was introduced in iOS 8.2. UIFontWeightUltraLight happens to equal −0.8 on iOS 9 in the default configuration. I think it’s reasonable to hardcode this value as a fallback; we still use the system constant when it’s available.

Fixes #5486, a regression introduced in #4783.

/cc @friedbunny

Fixed a crash on iOS 8.1 and below due to specifying the compass legend’s font weight using a font weight constant that was introduced in iOS 8.2.

Fixes #5486.
@1ec5 1ec5 added iOS Mapbox Maps SDK for iOS crash labels Jun 28, 2016
@1ec5 1ec5 added this to the ios-v3.3.0 milestone Jun 28, 2016
@1ec5 1ec5 self-assigned this Jun 28, 2016
@friedbunny
Copy link
Contributor

👍

@1ec5 1ec5 merged commit c96b7da into release-ios-v3.3.0 Jun 28, 2016
@1ec5 1ec5 deleted the 1ec5-compass-weight-5486 branch June 28, 2016 17:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crash iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants