Instance Method

allowsHitTesting(_:)

No overview available.

Declaration

func allowsHitTesting(_ enabled: Bool) -> some View

See Also

Configuring a View for Hit Testing

func contentShape<S>(S, eoFill: Bool) -> View

Returns a new view that defines the content shape for hit-testing self as shape. eoFill defines whether the shape is interpreted using the even-odd winding number rule or not.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software