apple Watch: remove status bar for Interface Controller

后端 未结 1 1262
南笙
南笙 2021-01-04 11:16

Is it possible to remove status bar for a particular Interface Controller or customise Interface controller title text in any way ?

相关标签:
1条回答
  • 2021-01-04 11:46

    As of Apple Watch Programming Guide you can customize interface controller title text color by setting your App’s Key Color.

    Every WatchKit app has an associated key color, which is applied to the >following UI elements:

    -The title string in the status bar

    -The app name in short look notifications

    An app’s key color is stored in the Global Tint property of the app’s storyboard. To access this property, select your storyboard and display the File inspector. Select one of several preexisting colors from the popup menu or use the color picker to specify a custom color.

    This is all we have as of today.


    About if it is possible to hide the status bar... The closer result you will get is by using modal interfaces. In this ones, the clock will be invisible but the status bar will remain there holding the interface title.

    0 讨论(0)
提交回复
热议问题