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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:54:30+00:00 2026-06-02T04:54:30+00:00

i have a problem with my UIScrollView, i have created it in interface builder

  • 0

i have a problem with my UIScrollView, i have created it in interface builder and then i have connected it to my view, but i have a bizarre problem, when i click to open the view with the scroll view, some time appear at the top, some time appear scrolled at the bottom, and some time in the middle for example, i want that appear always at the top, how i can do?…if i click on the status bar the uiscrollview scroll up how it should be, and i have also tried to add this:

[self.myScrollView scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:NO];

in my configure view in view will appear, but don’t work appear scrolled random in every position…there is a solution?

  • 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-02T04:54:32+00:00Added an answer on June 2, 2026 at 4:54 am

    You can use scrollRectToVisible to always have it appear in the same spot. Let’s say you have a UIScrollView where the frame size is (100,100). And you have a content size of (100,200). If you wanted that to appear at the top, you would call:

    [self.myScrollView scrollRectToVisible:CGRectMake(0, 0, 100, 100) animated:NO];
    

    if you wanted to center the content you would do this:

    [self.myScrollView scrollRectToVisible:CGRectMake(0, 50, 100, 100) animated:NO];
    

    if this is not working for you, then your scrollview is not setup properly and you’d need to provide more details on how you set it up.

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

Sidebar

Related Questions

I have a problem with my UIScrollView . It's visible but I can't scroll
I have UIScrollView in my view. Problem is that if I slightly scroll it
I have a scroll view that is the width of the screen but only
I have a problem with my code scroll=[[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 320, 460)]; scroll.backgroundColor=[UIColor
I have a UIScrollView that contains a UIToolbar, but when I scroll, the toolbar
I have two little problems with my UIScrollView. I managed to create scroll view,
I have problem with Oracle 9.2 and JMS. I created PL/SQL routine to send
I've got quite a problem with UIScrollView - I have a SwitchViewController (which is
I have a view with a UIScrollView, UIImageView for a background, and a UITextView.
I have scroll view with page controll i have images in scroll view 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.