title: align the text in UITableViewCell to the right
body: <p>I need to align the text in the cell to right.</p>
  
  <p>but even when i set to right the text is align to left as show in the screen shot 
  any idea why is this strange  behaviour of the cell</p>
  
  <pre><code>cell.textLabel.textAlignment = NSTextAlignmentRight;
  cell.detailTextLabel.textAlignment = NSTextAlignmentRight;
  </code></pre>
  
  <p>After reading related questions and answers on stackoverflow I could not find one solving my problem </p>
  
  <p><img src="https://i.stack.imgur.com/IPozl.png" alt="enter image description here"></p>