File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -187,11 +187,13 @@ extension View {
187
187
}
188
188
189
189
/// Finds a `UIColorWell` from a `SwiftUI.ColorPicker`
190
+ #if os(iOS)
190
191
@available ( iOS 14 , * )
191
192
@available ( tvOS, unavailable)
192
193
public func introspectColorWell( customize: @escaping ( UIColorWell ) -> ( ) ) -> some View {
193
194
introspect ( selector: TargetViewSelector . siblingContaining, customize: customize)
194
195
}
196
+ #endif
195
197
}
196
198
#endif
197
199
Original file line number Diff line number Diff line change @@ -367,6 +367,7 @@ private struct SegmentedControlTestView: View {
367
367
}
368
368
}
369
369
370
+ #if os(iOS)
370
371
@available ( iOS 14 . 0 , * )
371
372
@available ( tvOS, unavailable)
372
373
private struct ColorWellTestView : View {
@@ -380,6 +381,7 @@ private struct ColorWellTestView: View {
380
381
}
381
382
}
382
383
}
384
+ #endif
383
385
384
386
import MapKit
385
387
@available ( iOS 14 , tvOS 14 , * )
You can’t perform that action at this time.
0 commit comments