title: UIImage uplaod to rest server the orientation will chage?
body: <p>The camera take photo,upload to api successful but the Image orientation will turn left.</p>
  
  <pre><code>NSData *data = [[[NSMutableData alloc] initWithData:imageData] autorelease];
  NSString *path = [[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"] stringByAppendingPathComponent:@"file"];
  BOOL _B = [data writeToFile:path atomically:YES];
  
  if (!_B) {
      NSLog(@"write to file error!");
      return;
  }
  [request addFile:path forKey:@"photofile"];
  </code></pre>
  
  <p>Why?</p>