Skip to main content
Question

Arrange Text in createShapeWithText()


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

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings