Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can text be placed on upper left corner of Apple Watch screen

Tags:

apple-watch

I'm using Xcode to develop an Apple Watch app. I would like to place some text on the very upper left portion of the screen, adjacent to where the time is listed.

When I drag a label up to the portion of the screen it auto-aligns down.

I see that most Apple Watch apps have a page title or the app name on the very upper left region of the screen so there must be some way to put text there.

How can text be placed on the very upper left corner of the Xcode screen? So that the text is on the same y axis level as the time.

like image 963
Ryan Avatar asked Jan 17 '26 23:01

Ryan


1 Answers

This is the title of an interface controller, which you can set with setTitle(_:).

like image 63
Austin Conlon Avatar answered Jan 19 '26 20:01

Austin Conlon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!