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 788407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:21:33+00:00 2026-05-14T21:21:33+00:00

I display an image in a UIImageView (within a UIScrollView) which is also stored

  • 0

I display an image in a UIImageView (within a UIScrollView) which is also stored in CoreData.

In the interface, I want the user to be able to rotate the picture by 90 degrees. I also want it to be saved in CoreData.

What should I rotate in the display? the scrollview, the uiimageview or the image itself? (If possible I would like the rotation to be animated) But then I also have to save the picture to CoreData.

I thought about changing the image orientation but this property is readonly.

  • 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-14T21:21:34+00:00Added an answer on May 14, 2026 at 9:21 pm

    To just display the image rotated, you should rotate the UIImageView.

    You could store some metadata along with the image in CoreData saying what rotation should be applied.

    Some image formats have an implicit rotation property. If you know the compressed image data format you can look up the specification and see if it supports it.

    If you are going to actually rotate the image pixels, you will have to do that manually. You can create a CGBitmapContext and draw the image into it rotated by messing with the transform matrix, then create a new image from the bitmap.

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

Sidebar

Related Questions

I want to display an image within a scroll area. The view port of
How to make the browser upload and display image after the user puts it
I want to display an image at 'true size' in my application. For that
I want to display a thumbnail image in a cell of tableViewController , this
I have overridden the windows ListBox in order to display an image and a
Scenario: You have an ASP.Net webpage that should display the next image in a
I've a simple sliding box slide up over an image to display some info
'display the left product image if intImagePos = 2 then response.write(<td class=ProductImage> & vbcrlf)
I'm trying to display an update progress loading image whenever my update panel does
I need to display 2d images in opengl using textures. The image dimensions are

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.