Reputation: 9606
I have set my constraints in Xcode interface builder as following:
But the layout is not the same as the one I have on my interface builder (see below). I cannot see/find any property on the watch UI elements and views that allows me to set the layout constraints.
As you can see the grey button on the row is misaligned on the 42 mm watch. It works well on the 38mm watch.
Anyone knows how to fix this?
Upvotes: 2
Views: 1296
Reputation: 23078
There are no constraints on the Apple Watch. The interface can be layed out by groups with different behaviours.
So put your button in a group with horizontal layout and the desired width. Then put the button in that group and set the button's horizontal position to right
.
Upvotes: 3