2 Replies
      Latest reply on Feb 4, 2016 9:27 AM by cepages
      cepages Level 1 Level 1 (0 points)

        I'm working in an app which currently is working in English but is gonna content Arabic language obviously it will be right to left.

         

        So I've added the following in the App Delegate:

         

         

            [[UIView appearance] setSemanticContentAttribute:UISemanticContentAttributeForceRightToLeft];
        

         

        I've discovered that there are labels which are working fine but not for others, so the only difference I could find is:

         

         self.nameLabel.adjustsFontSizeToFitWidth = YES;
        

         

        If my nib file containts this option to true or it's set manually, that label will be left to right but if this option is set to false the label works fine and it becomes right to left.

         

        Is there any reason why? or is this a bug?

         

        Regards