invalidate(view:)
Indicates to the system that an aspect of a view is invalid and triggers the necessary update.
Declaration
func invalidate(view: UIView)Parameters
- view:
The view that requires invalidating.
Discussion
A type that conforms to UIViewInvalidating implements this method to perform any actions necessary to notify the system that an aspect of your view is invalid. For more info, see UIView.Invalidating.