forked from sagnik/Project_Velocity
#38 Ipad app production readiness, Colony orchestration, Social posting Co-authored-by: Sayan Datta <sayan@Sayans-MacBook-Air.local> Reviewed-on: sagnik/Project_Velocity#44
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
|