Search code examples
ioswatchkitapple-watchwkinterfacelabel

WatchKit adding margin to Label


Is there a way to add a margin / padding to a WKInterfaceLabel in Watchkit? Using UIEdgeInsets doesn't work.


Solution

  • You should create a WKInterfaceGroup and add the WKInterfaceLabel inside the group. You can manage the margin/padding using that group.

    enter image description here