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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:43:55+00:00 2026-05-14T22:43:55+00:00

this one puzzles me. I have an Image with a width of 1600 pixels

  • 0

this one puzzles me. I have an Image with a width of 1600 pixels and height of 1819 pixels.

I load the image as UIImageView into an UIScrollView and set the “contentsize parameter”

iKarteScrollView.contentSize = CGSizeMake(iKarteImageView.bounds.size.width, iKarteImageView.bounds.size.height);
NSLog(@"Frame - width %.6f, height %.6f - Bounds - width %.6f, height %.6f", 
      myImageView.frame.size.width, 
      myView.frame.size.height, 
      myImageView.bounds.size.width, 
      myImageView.bounds.size.height);
NSLog(@"Content size width %.6f, height %.6f", 
      myScrollView.contentSize.width, 
      myScrollView.contentSize.height);

The NSLog shows the following:

Frame - width 1600.000000, height 1819.000000 - Bounds - width 1600.000000, height 1819.000000
Content size width 1600.000000, height 1819.000000

Now comes the miracle, in a subsequent method of the same object I call the same NSLog again. But this time the result is

Frame - width 405.000000, height 411.000000 - Bounds - width 1601.510864, height 1625.236938
Content size width 404.617920, height 460.000000

Why is the frame size suddely 405 by 411 pixels?
How can the Bounds be 1601 by 1625 where 1625 is roughly 200 pixels less than the original size?

When Positioning a further UIImageView at the coordinates of 20 by 1625, the UIImageView is displayed an estimated 200 pixels above the bottom of the content of the UIScrollView.

I’m lost …

  • 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-14T22:43:55+00:00Added an answer on May 14, 2026 at 10:43 pm

    This effect is caused by setting the ZoomScale

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

Sidebar

Related Questions

I have this algorithm that I found here, just one thing puzzles me about
This one has me beat; I have a WPF window with two (important for
This one puzzles me. I get an error about seek when I'm not even
Ok this one is might not have a straight forward answer but lets see.
This one really puzzles me, as the code looks completely harmless. IE8 halts script
I'm a little puzzled with this one. I have a Collection called AllProducts, which
do you like puzzles to resolve? This is a big one! First, I made
Suppose you have some this String (one line) 10.254.254.28 - - [06/Aug/2007:00:12:20 -0700] GET
This is a compiler error (slightly changed for readability). This one always puzzled me.
This one has me puzzled. It seemed like an easy task, but the solution

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.