I have a UILabel which I want to align center. When I choose align center in storyboard, it works fine when the language is Arabic, which is the default. If I switch to English, it aligns to left. I tried adding in code bioLabel.textAlignment = .center, but does not work properly. How to align UILabel to center in both English and Arabic?

enter image description here enter image description here

Related posts

Recent Viewed