Perform LTR and RTL operation in Swift

Save

Sometimes we need to make the application for both LTR as well as RTL. here is some concepts that will work for LTR, RTL but this will support for iOS 9.0  and greater.

Here are some steps to follow:

1: Select the project and set Localization language and select (use base internationalization).

2: Now you write code where the user will choose the language.

3: Here “rootnav” is the starting view controller “storyboardId” so you can set your parent view controller storyBoardId by this way it will affect for all view controller and perform the desired operation.

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


2 comments

  • Ramzi Tawfeek
    this is code is working well, but we have issue in performance, app is being slow, do you have idea, why the app is slow when controlling the RTL and LTR manually?
    • kunal prasad (Moderator)
      Hi,
      Sorry for your late Reply , actually there is noting any issue regarding app performance it just change the view direction & nothing else so please check the other part of your code .
  • css.php

    We've bought a Shopware Extension which is a hybrid App, which we can now offer in the Google Play Store and the IOS App Store. I'am still impressed how fast and how sharp the support team leads us through every process of the App-Store clarification. Very fast and useful response.

    Markus Walter

    Markus Walter

    Founder, Das Apartment Living

    Talk to Sales

    Global

    Live Chat
    Start a Project


      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home