title: swift: make navigation bar Right-to-left (rtl) with both right and left items like back
body: <p>I have <code>UIViewController</code> with <code>UINavigationBarDelegate</code> delegate and I set everything's programmatically and my app is multi language so I need RTL (Right to Left) support in every section like NavigationBar. I used this approach:</p>
  
  <pre><code>if MSGlobal.setting.language.direction == .L2R
  {
      navigationItem.setRightBarButtonItems(rightItems, animated: true)
  }
  else
  {
      navigationItem.setLeftBarButtonItems(rightItems, animated: true)
  }
  let stackCount = navigationController!.viewControllers.count
  if stackCount == 1
  {
      let leftBtnItem:UIBarButtonItem = UIBarButtonItem(image: UIImage(named:"drawer"), landscapeImagePhone: UIImage(named:"drawer"), style: UIBarButtonItemStyle.Plain, target: self, action: "cb_drawerTapped:")
      if MSGlobal.setting.language.direction == .L2R
      {
          navigationItem.setLeftBarButtonItem(leftBtnItem, animated: true)
      }
      else
      {
          navigationItem.setRightBarButtonItem(leftBtnItem, animated: true)
      }
  }
  else
  {
      navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: UIBarButtonItemStyle.Plain, target: self, action: "cb_back:")
  }
  </code></pre>
  
  <p>Everything's work fine in LTR language like English, But in RTL language back button not shown. My result must be like this:</p>
  
  <pre><code>LTR:   [ &lt;      Title      [btn1...btnn]]
  RTL:   [[btnn...btn1]      Title      &gt; ]
  </code></pre>