Skip to content

Commit 199670f

Browse files
committedNov 24, 2024
Update UIScreenExtension.swift
1 parent 2304815 commit 199670f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎Sources/SwiftBoost/UIKit/Extensions/UIScreenExtension.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if canImport(UIKit)
12
import UIKit
23

34
public extension UIScreen {
@@ -9,3 +10,4 @@ public extension UIScreen {
910
return cornerRadius
1011
}
1112
}
13+
#endif

0 commit comments

Comments
 (0)