You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.introspect(.textField, on: .iOS(.v13, .v14, .v15, .v16, .v17)) { textField in
193
+
.introspect(.textField, on: .iOS(.v13, .v14, .v15, .v16, .v17, .v18)) { textField in
194
194
textField.backgroundColor= .red
195
195
}
196
196
```
@@ -269,7 +269,7 @@ struct ContentView: View {
269
269
}
270
270
```
271
271
272
-
Bear in mind this should be used cautiously, and with full knowledge that any future OS version might break the expected introspection types unless explicitly available. For instance, if in the example above hypothetically iOS 18 stops using UIScrollView under the hood, the customization closure will never be called on said platform.
272
+
Bear in mind this should be used cautiously, and with full knowledge that any future OS version might break the expected introspection types unless explicitly available. For instance, if in the example above hypothetically iOS 19 stops using UIScrollView under the hood, the customization closure will never be called on said platform.
273
273
274
274
### Keep instances outside the customize closure
275
275
@@ -286,7 +286,7 @@ struct ContentView: View {
286
286
ScrollView {
287
287
// ...
288
288
}
289
-
.introspect(.scrollView, on: .iOS(.v13, .v14, .v15, .v16, .v17)) { scrollView in
289
+
.introspect(.scrollView, on: .iOS(.v13, .v14, .v15, .v16, .v17, .v18)) { scrollView in
0 commit comments