Files
Project_Velocity/iOS/velocity-ipad/velocity/Features/Inventory/SimulatorSunOverlayView.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