Constant IOS_HIDE_HOME_INDICATOR

pub const IOS_HIDE_HOME_INDICATOR: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

A variable controlling whether the home indicator bar on iPhone X should be hidden.

The variable can be set to the following values:

  • “0”: The indicator bar is not hidden. (default for windowed applications)
  • “1”: The indicator bar is hidden and is shown when the screen is touched (useful for movie playback applications).
  • “2”: The indicator bar is dim and the first swipe makes it visible and the second swipe performs the “home” action. (default for fullscreen applications)

This hint can be set anytime.

§Availability

This hint is available since SDL 3.2.0.