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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:31:16+00:00 2026-06-17T07:31:16+00:00

For my iPad App, I have a main ViewController which contains two UIScrollview s

  • 0

For my iPad App, I have a main ViewController which contains two UIScrollviews and a UIPageControl. This works well except when I have more than the default three pages in the UIPageControl, in which case I set the number of pages manually in my VC using the call:

[self.pageControl setNumberOfPages:totalPages];

In such a case where the pageControl is set to say 10 pages (i.e. more than the default 3 pages) the dots outside of the 3 middle dots do not respond (i.e. the target action changePage function is not called when a user manually selects any of the dots outside the middle three)

see the picture shown:

Any help on how to resolve this would be most appreciated. Should I try addTarget to the ‘changePage’ function in code? (currently the target action is set in IB)

Thanks!

enter image description here

  • 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-17T07:31:17+00:00Added an answer on June 17, 2026 at 7:31 am

    I resolved this. The trick was to resize the UIPageControl in IB to the expected width (I did this in IB Size Inspector). I now see the changePage function getting called when I pick even the extreme end dots.

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

Sidebar

Related Questions

For my iPad App, I have a main ViewController which contains two UIScrollviews and
If I'm creating a universal iPhone/iPad app, I have two XIBs. One main XIB
I have an iPad app with a main ViewController, and inside of it I
In my iPad app I have two textfields. One displays the normal, default textfield
I currently have one iPad app, but it now needs to become two. The
I have an iPhone/iPad app which play a HTTP Live Stream of a tv
I have an iPad app which has a funky Path-style menu which is present
I have a iPad app which is NOT modified for the new iPad with
I have this iPad app using Storyboard. There are some file that are marked
I have a basic iPhone/iPad app which has a ; a. List view &

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.