setNeedsLayout() | Apple Developer Documentation

Invalidates the current layout of the receiver and triggers a layout update during the next update cycle.