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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:48:20+00:00 2026-05-23T02:48:20+00:00

When my uiscrollview with paging enabled gets rotated, it works fine, but it still

  • 0

When my uiscrollview with paging enabled gets rotated, it works fine, but it still thinks the images are the same width, so the pages don’t take up the full page. so can i tell it the “pages” are now as wide as the height?

  • 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-23T02:48:21+00:00Added an answer on May 23, 2026 at 2:48 am

    You can enable autoresizing subviews for the UIScrollView, like for any other view. Of course, you need to set appropriate autoresizing masks for each of your subviews. This will take care of resizing, repositioning, etc. However, the contentSize property isn’t automatically adjusted, so you need to take care of that yourself, for example in layoutSubviews. I’ve done all of this before, it’s a little fiddly, but doable as a subclass of the scroll view. I’ve actually publicly released this autoresizing scroll view, but it’s commercially licensed, and I’m not sure what SO policy is on that kind of thing, so I won’t link to it.

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

Sidebar

Related Questions

I have a UIScrollView with paging enabled, and that works fine. Now I want
I have a UIScrollview with paging enabled. There are 3 views (pages) inside this
I need to display 10 - 1000 images on a UIScrollView. Paging is enabled.
I have a UIScrollView with paging enabled. Each page is of width 768.0px in
Hi I have populated uiscrollview with images (code is bellow) but I don't know
I have a UIScrollView that contains a UIView inside. The UIScrollView has paging enabled
I have a UIScrollView 's paging enabled and set its clipToBounds = NO so
I have a scrollView with paging enabled and a number N of pages, which
I have a UIScrollView with paging enabled. After I change the view from landscape
i want to implement a UIScrollView where paging is enabled and i can just

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.