user4385051
user4385051

Reputation:

UITextAlignment in swift

How to Align UItextView programmatically ? I don't need the

label.textAlignment = UITextAlignmentCenter;

But I want to choose the alignment exactly.

Upvotes: 0

Views: 158

Answers (1)

artur-dev
artur-dev

Reputation: 350

setTextContainerInset:

Is what you are looking for I believe.

Upvotes: 2

Related Questions