forked from sagnik/Project_Velocity
21 lines
456 B
Swift
21 lines
456 B
Swift
import SwiftUI
|
|
|
|
#if targetEnvironment(simulator)
|
|
|
|
struct SimulatorSunOverlayView: View {
|
|
@Binding var sunNodesReady: Bool
|
|
|
|
var body: some View {
|
|
ContentUnavailableView(
|
|
"Sunseeker Unavailable",
|
|
systemImage: "arkit",
|
|
description: Text("Run on a physical iPad to use live location, heading, and ARKit camera data.")
|
|
)
|
|
.onAppear {
|
|
sunNodesReady = false
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|