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

  • Home
  • SEARCH
  • 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 8452451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:30:12+00:00 2026-06-10T11:30:12+00:00

For an UIImageView, different mode options are given In the interface builder like Aspect

  • 0

For an UIImageView, different mode options are given In the interface builder like Aspect Fit, Aspect Fill. Can anyone tell me what is the difference b/w these two modes: Scale to Fill VS Redraw?

  • 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-10T11:30:14+00:00Added an answer on June 10, 2026 at 11:30 am

    UIViewContentModeScaleToFill

    For the first time, drawRect: is called and view is rendered. Later, when geometry changes, drawRect: is not called and already rendered content is scaled to draw the view.

    UIViewContentModeRedraw

    Every time you change bounds, drawRect: is called to render the view again, again and again. Unless you know what are you really doing and unless you really need it, don’t use it. It’s much slower, because it must call drawRect: again and again. In other words, when you set UIViewContentModeRedraw it’s same behavior as when you call setNeedsDisplay every time bounds are changed.

    Simplified explanation, but should clarify it a bit for you.

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

Sidebar

Related Questions

I've an UIImageView with content mode Aspect Fit of size 220x155. I'm dynamically inserting
I have an UIImageView which can be rotated, panned and scaled with gesture recognisers.
I have one UIImageView that I use to display different images at different points
I'm doing animation with performSelector:withObject:afterDelay at 24fps. (reason being, UIImageView doesn't support different interval
I would like to do a fade in and out of a UIImageView using
For some reason, I can only display a UIImageView when I alloc/init it each
I've added some UIImageView dynamically and filled it with different images, what I am
So I have five different UIViewController that I would like to create. Each of
I have created one UIImageView Here's code capView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:kARROW_CAP_NAME]]; capView.frame
I have added an UIImageView as a subview in UIView , and then I

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.