SoFunction
Updated on 2025-04-12

Analysis on the difference between iOS overFullScreen and fullScreen

The difference between overFullScreen and fullScreen

overFullScreen

The views beneath the presented content are not removed from the view hierarchy when the presentation finishes.  So if the presented view controller does not fill the screen with opaque content, the underlying content shows through.

When the display is finished, the view below the display content is not removed from the view hierarchy. Therefore, if the rendered view controller does not fill the screen with opaque content, the underlying content will be displayed.

fullScreen

The views belonging to the presenting view controller are removed after the presentation completes.

The view belonging to the rendering view controller is removed after rendering is completed.

See detailsXcode->Window->Developer Documentation

Summarize

Use if you need to pop up a translucent viewoverFullScreen, but becauseWhen the display is finished, the view below the display content is not removed from the view hierarchy, so the following view will not start when the page disappearsviewWillAppearetc.

Using fullScreen, disappearing on the page will trigger the following view.viewWillAppearetc., butThe view that renders the view controller is removed after rendering is completedWhen translucent, the transparent part can be displayed directly on the black screen.

🐟 and bear's paw cannot be both 😂😂😂😂

The above is the detailed analysis of the difference between iOS overFullScreen and fullScreen. For more information about iOS overFullScreen fullScreen, please follow my other related articles!