Instance Method

layoutMarginsDidChange()

Notifies the view that the layout margins changed.

Declaration

func layoutMarginsDidChange()

Discussion

The default implementation of this method does nothing. Subclasses can override this method and use it to respond when the value in the view’s layoutMargins property changes. For example, you might override this method if your view subclass handles layout manually or uses the layout margins during drawing. In both cases, you could use this method to initiate a drawing or layout update.