Unity 2021.3 or higher. Just press the Add Component button on any GameObject that has a Rect Transform and select Safe Area Fitter.
Driven Rect Transform properties Since a layout controller in the auto layout system can automatically control the sizes and placement of certain UI elements, those sizes and positions should not be ...