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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:03:54+00:00 2026-05-21T12:03:54+00:00

I use the aSyncImageView to display images that is downloaded from a URL –

  • 0

I use the aSyncImageView to display images that is downloaded from a URL – The images have all kinds of different sizes but i need to display the image with a fixed width of 300 points but i need the height of the imageView to be dynamic – How do i do that?

I’ve looked at different resizingmasks but they all just fit the image within a fixed frame size – But i need the frame height to be dynamic since the picture height can wary by several hundred points.
The problem is that i need to set a fixed width and height when setting the frame.

AsyncImageView *newsArticleImage = [[AsyncImageView alloc] init];
[newsArticleImage loadImageFromURL:[NSURL URLWithString:[newsResultSet stringForColumn:@"image"]]];
newsArticleImage.frame = CGRectMake(10, (newsArticleDateLabel.frame.origin.y + newsArticleDateLabel.frame.size.height + 5), 300, 50);
newsArticleImage.autoresizingMask = UIViewAutoresizingFlexibleHeight;
  • 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-21T12:03:55+00:00Added an answer on May 21, 2026 at 12:03 pm

    Doesn’t seem to be possible without altering ASyncImageView or handling it with an observer.

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

Sidebar

Related Questions

We use a data acquisition card to take readings from a device that increases
use case example I have a servlet that is receiving login requests. If a
I use Firebug and the Mozilla JS console heavily, but every now and then
We use QuickBooks for financial management, and feed it from a variety of sources.
use javascript or other method ? have any recommendation?
Use MongoDB GridFS store images and images stored directly on disk What are the
My use case is simple. I have a root domain object which references a
I use a replace to wrap all the words in a string with <a/>
I use Zend framework with doctrine for a project , the problem is that
I use telerik mvc grid and pop up edit template. But I've no idea

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.