title: Alert View Position isn't Center
body: <p>I have UIAlertView in UIView. Alert View will appear when error about login occur.</p>
  
  <p>Sometime it worked on Center Position following this picture.</p>
  
  <p><img src="https://i.stack.imgur.com/TfuHu.png" alt="enter image description here"></p>
  
  <p>My code</p>
  
  <pre><code>    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Login Failed" message:exceptionString delegate:nil cancelButtonTitle:@"OK" otherButtonTitles: nil]; 
  [alert show];
  </code></pre>
  
  <p>but sometime it worked on Left Position following this picture.</p>
  
  <p><img src="https://i.stack.imgur.com/9Ver5.png" alt="enter image description here"></p>
  
  <p>I want on Center Position only.</p>
  
  <p>How to fix it. Thank you.</p>