Migrate image tinting to UIGraphicsImageRenderer #3893
Labels
jira-sync-complete
op-ex
Refactoring, Tech Debt or any other operational excellence work.
UI
Work related to visual components, Android Auto, Camera, 3D, voice, etc.
#2873 introduced a
UIImage.tint(_:)
method that uses the datedUIGraphicsBeginImageContextWithOptions(_:_:_:)
,UIGraphicsGetImageFromCurrentImageContext()
, andUIGraphicsEndImageContext()
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
The text was updated successfully, but these errors were encountered: