-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHowToView.swift
35 lines (29 loc) · 1009 Bytes
/
HowToView.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import SwiftUI
struct HowToView: View {
@Environment(\.presentationMode) var presentationMode
var body: some View {
ZStack {
Color.white
.ignoresSafeArea()
VStack {
Button {
presentationMode.wrappedValue.dismiss()
} label: {
Image(systemName: "x.circle")
.foregroundColor(.black)
.font(.largeTitle)
}
.padding()
.frame(maxWidth: .infinity, alignment: .trailing)
Spacer()
}
VStack {
Text("To play the game raise your hand accordingly to the number of stars being presented")
.foregroundColor(.black)
.font(.title2)
Spacer()
}.padding([.top],75)
.padding([.leading,.trailing], 20)
}
}
}