Henry R
Henry R

Reputation: 53

How can I edit top status bar at AppleWatch?

I'm beginning with WatchKit and I would like to know hoy to edit the aspect of topbar in a AppleWatch app. I would like to change the color and also to hide it in some of my views because I want to focus my user to perform one action.

Thanks!

Upvotes: 4

Views: 2340

Answers (1)

EnriMR
EnriMR

Reputation: 3970

It is impossible to edit the status bar appearance. There are some strong restrictions:

  • Status bar cannot be hidden
  • There are not ability to modify the black background
  • You cannot add or modify the back button or another image

The only thing you can do is to change the title color using tint color in your storyboard and the text both of through storyboard and source code.

Change color

enter image description here

Change text

[self setTitle:@"MyTitle"];

Upvotes: 5

Related Questions