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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:55:53+00:00 2026-06-09T21:55:53+00:00

I have a project where I have to rotate a large image under the

  • 0

I have a project where I have to rotate a large image under the users thumb, it represents a dial the use turns to select a day of the year. I am currently using CGContextRotateCTM() and -[UIImage drawInRect:] but the performance on retina display iPads is not good, ironically on pre-retina iPads is works fine (only a 1/4 of the pixels to push around). I have don everything I can to optimise my code, instruments shows me that 87% of the time is in -[UIImage drawInRect:]. Does anybody have any hints on how to get some significant performance improvement, should I be looking a CALayers and rotating them instead.

  • 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-06-09T21:55:55+00:00Added an answer on June 9, 2026 at 9:55 pm

    Put the image in its own UIImageView and set the image view’s transform property to your rotation transform. That will be much, much faster than drawing the image into a CGContext with a rotated CTM.

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

Sidebar

Related Questions

In my android project I have an image that i want to rotate it
I have project I want to upgrade to .Net4 and it use BackgroundCopyManager.dll. Anyone
I am working on a Flash Project in which i have to rotate a
This project is in c# under .net 4. I have a custom object that
I have been using Affine Transform to rotate a String in my java project,
I'm working on a project where I have a large NSMatrix of NSImageCells .
I have project asp.net with namespace test and I'm using resources (files Resource.resx and
I have project on rails 3 with multiplayer using Faye. The error block in
I have project Emle in Launchpad . I set it to import from emle.svn.sourceforge.net
I have project in Dropbox and two running laptops: one with Ubuntu and one

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.