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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:13:54+00:00 2026-05-29T15:13:54+00:00

My project is set up to be Universal. I have a view in which

  • 0

My project is set up to be Universal. I have a view in which a ScrollView fills (and exceeds) the view size. It’s larger vertically, so that the contents scroll up/down. When I run this on any iPhone simulator version (4.2…5.x, and retina) the ScrollView starts with the contents at the top – the way I want it to. However when I run it on the iPad simulator (any version) the contents start at the bottom – reverse of the iPhone.

I’ve read several threads and I’ve tried using scrollRectToVisible and scrollContentOffset but they both are quite annoying to see (animated or not). I’ve tried them in viewDidLoad or viewDidAppear or viewWillAppear and it always looks annoying as you can see the contents shift after the view appears.

The scrollwview and it’s contents are added via the IB. For the iPhone, both are positioned correctly in the IB. For the iPad I change the size and content size of the scrollview in ‘viewDidLoad’ like so:

[helpScroll setContentSize:CGSizeMake(320, 1200)];
tmpFrame=helpScroll.frame;
tmpFrame.size.height=1004;
helpScroll.frame=tmpFrame;

Does anyone know why the iPad seems reversed from the iPhone and how to fix this?

  • 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-29T15:13:55+00:00Added an answer on May 29, 2026 at 3:13 pm

    I solved the issue. I had followed a tutorial which added items (ImageView, TextView, etc.) directly to the ScrollView and this caused problems when I resized the ScrollView. I found another tutorial which recommended using a View to hold the contents, then adding the View as a sub-view to the ScrollView. This works perfectly.

    Here’s the other tutorial: http://redartisan.com/2010/5/23/scrolling-with-uiscrollview

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

Sidebar

Related Questions

Our current MVC project is set up to have ViewModels that encapsulate the data
how can I set up a Universal project which has support for iAd (just
Hi I have an application which has a main project set to ver 3.5
I have a NetBeans project set up with a bunch of source classes and
I've got a number of non-technical users that all share a set of project
I have an iPhone SDK project that is supposed to build a static library
We've got a project set up to use the Maven Release Plugin which includes
how set sort_area_size in oracle 10g and what size should be as i have
I have an SCons project set up as follows: Project/ SConstruct # SConscript('stuff/SConscript', variant_dir
I have been trying to set up an EDE project for C++ (emacs24 +

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.