What are good alternatives to UITextAlignmentCenter in iOS 6?

前端 未结 5 970

UITextAlignmentCenter seems to be deprecated in iOS 6. What are my alternatives?

5条回答
  •  隐瞒了意图╮
    2020-12-29 01:23

    You should use NSTextAlignmentCenter instead according to Apple's documentation.

    You should also use NSTextAlignmentLeft and NSTextAlignmentRight instead of UITextAlignmentLeft and UITextAlignmentRight, respectively.

提交回复
热议问题