2 parents 6586cc2 + e10b810 commit 76bff1cCopy full SHA for 76bff1c
1 file changed
ios/TurboImageView.swift
@@ -1,7 +1,7 @@
1
import Nuke
2
import NukeUI
3
import SwiftSVG
4
-#if !os(tvOS)
+#if !os(tvOS) && canImport(VisionKit)
5
import VisionKit
6
#endif
7
import Gifu
@@ -358,7 +358,7 @@ fileprivate extension TurboImageView {
358
359
lazyImageView.onCompletion = { result in
360
self.onCompletionHandler(with: result)
361
362
if self.enableLiveTextInteraction {
363
self.handleLiveTextInteraction()
364
}
0 commit comments