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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:52:41+00:00 2026-06-07T05:52:41+00:00

I have linked my UISlider with two methods – Touch Up Inside and Value

  • 0

I have linked my UISlider with two methods – Touch Up Inside and Value Changed. First one to update once dragging is complete and second one to update during dragging. When I drag “long” distance over the screen with slider, everything is fine. When I drag step-by-step, Value Changed works fine, but Touch Up Inside doesn’t…anybody experienced same thing?

  • 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-07T05:52:42+00:00Added an answer on June 7, 2026 at 5:52 am

    The problem was with gesture recognizer. As I implemented method for recognizing “tap” on the slider in order to make the slider move quickly to that spot without the need to frag it there, I forgot to separate it from the touch up inside with if-else statement.

    UISlider* s = (UISlider*)gestureRecognizer.view;
    if (s.highlighted) {
        switch (s.tag) {
            case 1:
                [_cpuStepper setValue:[s value]];
                break;
            case 2:
                [_ramStepper setValue:[s value]];
                break;
            case 3:
                [_hddStepper setValue:[s value]];
                break;
            default:
                break;
        }
        [self updatePrice];
        return; // on thumb
    }
    

    All working now.

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

Sidebar

Related Questions

I have tables linked by FK, I query on the first table using entity
I need to have a linked text inside a svg graph. Here is what
I have two forms and I have linked it up so that when the
I have 2 Entities User and User_Profile (one to one relationship). I have linked
I have a UISlider inside a custom UITableViewCell named SliderCell. I have a method
I have made two targets in my project. One for a Staging version and
So I have two servers. SER1, SER2. SER1 is the one from where I
I have two procedures: a java stored procedure JAVA_P() which is linked to a
I have two hidden input fields on my form that I have linked to
I have linked a form from campaign monitor to a mobile site and 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.