title: iTunes App getting rejected
body: <p>My app has a login screen where the user logins. We are able to login on iPhone4, iPod 4, iPad 2 and iPhone5 simulator. But when we submit it to the iTunes store that time the app gets rejected. Apple mentioned that they were unable to login in the app. </p>
  
  <p>I have HMAC-SHA 256 encryption for password and at the time of login i send the encrypted password. So is there anything that, Apple has implemented for iPhone5 which dont allow the services to accept encrypted data.</p>
  
  <p>I don't have a iPhone5 and i don't want to buy a iPhone5 as its too expensive. Can anyone help me with this.</p>
  
  <p>This is my code:</p>
  
  <pre><code>NSMutableURLRequest *theRequest = 
  [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60.0];
  
      
      //do post request for parameter passing 
  
      [theRequest setHTTPMethod:@"POST"];
  
      
      //set the content type to JSON
  
      [theRequest setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
  
  [theRequest addValue:userName forHTTPHeaderField:@"Username"];
  
  [theRequest addValue:sha256(passWord) forHTTPHeaderField:@"Password"];
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/pVqT3.png" alt="enter image description here"></p>
  
  <p>Below are comments from Apple:</p>
  
  <blockquote>
    <p>We found that your app exhibited one or more bugs, when reviewed on
    iPhone 5 running iOS 6.0.1, on both Wi-Fi and cellular networks, which
    is not in compliance with the App Store Review Guidelines.</p>
  </blockquote>