---
name: "al_iphone_set_statusbar_orientation"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_iphone_set_statusbar_orientation"
---

# al\_iphone\_set\_statusbar\_orientation(3)

Allegro 5 API

## NAME

al\_iphone\_set\_statusbar\_orientation - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_iphone.h>
  void al_iphone_set_statusbar_orientation(int o)
  ```

## DESCRIPTION

Sets the orientation of the status bar, which can be one of the following:

- •

  ALLEGRO\_IPHONE\_STATUSBAR\_ORIENTATION\_PORTRAIT

- •

  ALLEGRO\_IPHONE\_STATUSBAR\_ORIENTATION\_PORTRAIT\_UPSIDE\_DOWN

- •

  ALLEGRO\_IPHONE\_STATUSBAR\_ORIENTATION\_LANDSCAPE\_RIGHT

- •

  ALLEGRO\_IPHONE\_STATUSBAR\_ORIENTATION\_LANDSCAPE\_LEFT

## SINCE

5\.1.0
