Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7636407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:40:18+00:00 2026-05-31T07:40:18+00:00

On iOS 5 using an iPhone 4s I am trying to pick a photo

  • 0

On iOS 5 using an iPhone 4s I am trying to pick a photo from the camera roll using UIImagePickerController. The problem I am having is that the image that I pick always has the following attributes (regardless of wether the image is portrait or landscape):

image.size.width = 3264
image.size.height = 2448
image.orientation = UIImageOrientationUp

The UIImage returned from didFinishPickingMediaWithInfo does not seem to give me access to the orientation of the photo.

Is there something a UIImageView uses other than UIImage.UIImageOrientation to specify either a landscape or portrait photo?

Im not using a UIImageView to display the photo so I need to figure out what UIImageView is doing to correct the orientation.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:40:19+00:00Added an answer on May 31, 2026 at 7:40 am

    In my case I was using the CGImage which does not keep the orientation info.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to do some image processing on iPhone. I'm using http://developer.apple.com/library/ios/#qa/qa2010/qa1702.html to capture
I am learning to develop iPhone applications using iOS 5. I am trying to
I am trying to disable the save image dialoge from showing on the iPhone/any
I am trying to integrate twitter into an iOS app using Ben Gottlieb's Twitter-OAuth-iPhone
I'm trying to get heading information using ios 4.3 on an iphone 4. I
I've been having trouble trying to communicate between PHP and my iOS application using
I'm trying to make an iOS 5 app that features real-time things coming from
I am currently trying to remove the gloss effect from an iOS icon using
Currently I'm trying to access the files that are transferred using the new iOS
I'm using AFJSONRequestOperation in an iPhone app (targeting iOS 5) - basically making a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.