Skip to content

Commit 23e24d1

Browse files
authored
Merge pull request #8 from kernjackson/fix-uiimage-availability
Add availability check to UIImage+SFSymbol
2 parents c5a7e38 + 3563690 commit 23e24d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SFSymbol/UIImage+SFSymbol.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#if canImport(UIKit)
99
import UIKit
1010

11+
@available(iOS 13.0, *)
1112
public extension UIImage {
1213
convenience init?(symbol: SFSymbol) {
1314
self.init(systemName: symbol.rawValue)

0 commit comments

Comments
 (0)