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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:33:36+00:00 2026-06-04T18:33:36+00:00

I am changing a value with UISlider and this value is the number of

  • 0

I am changing a value with UISlider and this value is the number of my PDF pages , so when users sliding they can navigate through the pages , because of tiles rendering I need set continuous property to NO, also I need a live page counter that uses with the same slider, so the property should be YES :, how can I set the property yes or no for specific codes with the same slider ?

this part , the property should be NO

navSlider.continuous = NO;
     pageInt = CGPDFDocumentGetNumberOfPages(pdfscroll.pdf);
     prgress = (int)(navSlider.value + 0.5);
    navSlider.maximumValue = pageInt;
    navSlider.minimumValue = 1;
    [bookController moveToPage:prgress];

and here yes :

navSlider.continuous = YES;
    NSString *numberOfPage = [NSString stringWithFormat:@"%d of %d",prgress,pageInt];
    pageCounter.text = numberOfPage; 
  • 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-04T18:33:38+00:00Added an answer on June 4, 2026 at 6:33 pm

    You clearly do need to know about every slider change, so it must be continuous. However, you should not call [bookController moveToPage:prgress]; after every single slider movement. The solution is to update the page number for every slider movement, but only call [bookController moveToPage:prgress]; when the slider is released.

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

Sidebar

Related Questions

How can I create NSSlider animation when changing float value of it. I was
Usually I can change stdout in Python by changing the value of sys.stdout .
What is the effect of changing a value in the machine.config file? Will this
I have a Slider whose value can be changed either by user, or through
This is my script that after changing input value should send it to php
A TextBox is set to AutoPostback as changing the value should cause a number
Is there a way to disable changing the value of a ComboBox in WPF
inheriting a class attribute from a super class and later changing the value for
In VBA, I'm changing the value of a few controls in an Access form.
ASP.Net Dropdownlist , on changing the value of drop down list and clicking the

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.