Open
Description
#2873 introduced a UIImage.tint(_:)
method that uses the dated UIGraphicsBeginImageContextWithOptions(_:_:_:)
, UIGraphicsGetImageFromCurrentImageContext()
, and UIGraphicsEndImageContext()
functions. We should migrate this method to the more readable and less error-prone UIGraphicsImageRenderer API.
mapbox-navigation-ios/Sources/MapboxNavigation/UIImage.swift
Lines 82 to 97 in 111551d
/ref #2928 (comment)
/cc @S2Ler
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]Migrate image tinting to UIGraphicsImageRenderer[/-][+]Migrate image tinting to UIGraphicsImageRenderer[/+]