validateDrop(info:)
Tells the delegate that a drop containing items conforming to one of the expected types entered a view that accepts drops.
Declaration
@MainActor @preconcurrency func validateDrop(info: DropInfo) -> BoolDiscussion
Specify the expected types when you apply the drop modifier to the view. The default implementation returns true.