Skip to main content
Question

Arrange Text in createShapeWithText()

  • April 22, 2025
  • 0 replies
  • 13 views

Laura Galera

Hello! 

I’d like to know how I should arrange the text inside a shape. Before, this option used to work

shapeWithText.text.textAlignHorizontal = "CENTER";

but now I face the problem: object TextSublayerNode doesn’t have a property called textAlignHorizontal

What am I missing?

Thanks

This topic has been closed for replies.