@@ -9,10 +9,10 @@ import SwiftUI
9
9
/// @State var isPresented = false
10
10
///
11
11
/// public var body: some View {
12
- /// Button("Root ", action: { isPresented = true })
12
+ /// Button("Present ", action: { isPresented = true })
13
13
/// .fullScreenCover(isPresented: $isPresented) {
14
- /// Text("Content" )
15
- /// .introspect(.fullScreenCover, on: .iOS(.v13, . v14, .v15, .v16, .v17)) {
14
+ /// Button("Dismiss", action: { isPresented = false } )
15
+ /// .introspect(.fullScreenCover, on: .iOS(.v14, .v15, .v16, .v17)) {
16
16
/// print(type(of: $0)) // UIPresentationController
17
17
/// }
18
18
/// }
@@ -27,10 +27,10 @@ import SwiftUI
27
27
/// @State var isPresented = false
28
28
///
29
29
/// public var body: some View {
30
- /// Button("Root ", action: { isPresented = true })
30
+ /// Button("Present ", action: { isPresented = true })
31
31
/// .fullScreenCover(isPresented: $isPresented) {
32
- /// Text("Content" )
33
- /// .introspect(.fullScreenCover, on: .tvOS(.v13, . v14, .v15, .v16, .v17)) {
32
+ /// Button("Dismiss", action: { isPresented = false } )
33
+ /// .introspect(.fullScreenCover, on: .tvOS(.v14, .v15, .v16, .v17)) {
34
34
/// print(type(of: $0)) // UIPresentationController
35
35
/// }
36
36
/// }
0 commit comments