Skip to content

Commit 15f8fa9

Browse files
authored
Update README.md [skip ci] (#369)
1 parent 08c665a commit 15f8fa9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ ScrollView {
3030
1. Add marker views in front and behind `ScrollView`.
3131
2. Traverse through all subviews between both marker views until a `UIScrollView` instance (if any) is found.
3232

33-
> **Warning**
34-
>
33+
> [!IMPORTANT]
3534
> Although this introspection method is very solid and unlikely to break in itself, future OS releases require explicit opt-in for introspection (`.iOS(.vXYZ)`), given potential differences in underlying UIKit/AppKit view types between major OS versions.
3635
3736
By default, the `.introspect` modifier acts directly on its _receiver_. This means calling `.introspect` from inside the view you're trying to introspect won't have any effect. However, there are times when this is not possible or simply too inflexible, in which case you **can** introspect an _ancestor_, but you must opt into this explicitly by overriding the introspection `scope`:

0 commit comments

Comments
 (0)