Check Mobile App
Read now
Start a Project

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

    Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.

    Osama
    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