Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How do I change iOS status bar colour?
Forum Update on Monday, May 27th 2025

How do I change iOS status bar colour?

Scheduled Pinned Locked Moved Mobile and Embedded
iosstatus bar
2 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eLim
    wrote on last edited by
    #1

    More noob questions!
    I've tried googling this but I haven't seem to have come across anything that makes sense to me. Maybe I'm just dumb.

    Anyway I'm referring to the status bar at the top of the screen that shows time, battery etc. How do I change the colour of that? I want it to match the red-ish background of my app.

    Any help is much appreciated!
    Thanks

    1 Reply Last reply
    0
    • benlauB Offline
      benlauB Offline
      benlau
      Qt Champions 2016
      wrote on last edited by
      #2

      You can change the status bar "style" via the UIApplication. setStatusBarStyle() function.

      UIApplication Class Reference

      Example Code:
      https://github.com/benlau/quickios/blob/master/qisystemutils.mm#L305

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved