I am working on the watchkit app and I want to create a table row with an image and two labels where the labels are one below the other, like this:
I tried the position options in interface builder, but no luck.
The labels are always on the same line:
I want the x-coordinate same for both. Please help.
At first, drag a Group
onto the interfaceController, then change the Layout
property of that group to Vertical
:
Then drag the Labels in that group and set their properties accordingly:
If you need other alignments, add another group to the viewController.
EDIT
To achieve the table view you have posted in your question:
Horizontal
Left
Left
, layout Vertical
Looks like this:
You just need to change Layout
of that group to Vertical
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With