Skip to content

Commit 3563690

Browse files
committed
add availability check to UIImage+SFSymbol
1 parent c5a7e38 commit 3563690

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)