{"action":"created","issue":{"url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/21","labels_url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/21/comments","events_url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/21/events","html_url":"https://github.com/marcshilling/react-native-image-picker/pull/21","id":104309634,"number":21,"title":"Update UIImagePickerManager.m","user":{"login":"Spikef","id":7875897,"avatar_url":"https://avatars.githubusercontent.com/u/7875897?v=3","gravatar_id":"","url":"https://api.github.com/users/Spikef","html_url":"https://github.com/Spikef","followers_url":"https://api.github.com/users/Spikef/followers","following_url":"https://api.github.com/users/Spikef/following{/other_user}","gists_url":"https://api.github.com/users/Spikef/gists{/gist_id}","starred_url":"https://api.github.com/users/Spikef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spikef/subscriptions","organizations_url":"https://api.github.com/users/Spikef/orgs","repos_url":"https://api.github.com/users/Spikef/repos","events_url":"https://api.github.com/users/Spikef/events{/privacy}","received_events_url":"https://api.github.com/users/Spikef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T16:51:28Z","updated_at":"2015-09-04T16:32:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/marcshilling/react-native-image-picker/pulls/21","html_url":"https://github.com/marcshilling/react-native-image-picker/pull/21","diff_url":"https://github.com/marcshilling/react-native-image-picker/pull/21.diff","patch_url":"https://github.com/marcshilling/react-native-image-picker/pull/21.patch"},"body":"Rotate the image for upload to web"},"comment":{"url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/comments/137784097","html_url":"https://github.com/marcshilling/react-native-image-picker/pull/21#issuecomment-137784097","issue_url":"https://api.github.com/repos/marcshilling/react-native-image-picker/issues/21","id":137784097,"user":{"login":"Spikef","id":7875897,"avatar_url":"https://avatars.githubusercontent.com/u/7875897?v=3","gravatar_id":"","url":"https://api.github.com/users/Spikef","html_url":"https://github.com/Spikef","followers_url":"https://api.github.com/users/Spikef/followers","following_url":"https://api.github.com/users/Spikef/following{/other_user}","gists_url":"https://api.github.com/users/Spikef/gists{/gist_id}","starred_url":"https://api.github.com/users/Spikef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spikef/subscriptions","organizations_url":"https://api.github.com/users/Spikef/orgs","repos_url":"https://api.github.com/users/Spikef/repos","events_url":"https://api.github.com/users/Spikef/events{/privacy}","received_events_url":"https://api.github.com/users/Spikef/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T16:32:50Z","updated_at":"2015-09-04T16:32:50Z","body":"Yeah. If you don't have to upload the images you picked to web, it's no necessary to do this. All images are displayed well on iPhone. But after you upload a image to a web server, the image displays a wrong orientation. Imagine that your avatar rotate to left. You can try to take a photo with your camera and upload it to a server. \r\nHere is a link for your reference.\r\nhttp://stackoverflow.com/questions/22308921/fix-ios-picture-orientation-after-upload-php\r\n"}}