If you don’t need any data inbetween drag, than you should simply set:
[mySlider setContinuous: NO];
This way you will receive valueChanged
event only when the user stops moving the slider.
Swift 5 version:
mySlider.isContinuous = false
More Related Contents:
- How to make UI with round image and round text, also add ratting icon on same circle. in iOS application
- Handling applicationDidBecomeActive – “How can a view controller respond to the app becoming Active?”
- How to select Multiple images from UIImagePickerController [duplicate]
- How to set lock screen , wallpaper and Ringtone programmatically in iPhone?
- How to get audio volume level, and volume changed notifications on iOS?
- How to crop UIImage on oval shape or circle shape?
- UITableView Checkmark ONLY ONE Row at a Time
- Change iPhone UISlider bar image
- UISlider that snaps to a fixed number of steps (like Text Size in the iOS 7 Settings app)
- How can I develop for iPhone using a Windows development machine?
- iPhone get SSID without private library
- UIImage resizing not working properly
- Do I need to disable NSLog before release Application?
- viewWillDisappear: Determine whether view controller is being popped or is showing a sub-view controller
- Change Default Scrolling Behavior of UITableView Section Header
- UIPickerView that looks like UIDatePicker but with seconds
- How to create .ipa file using Xcode?
- How to determine UIWebView height based on content, within a variable height UITableView?
- iOS 4 app crashes at startup on iOS 3.1.3: Symbol not found: __NSConcreteStackBlock
- How to stop multiple times method calling of didUpdateLocations() in ios
- Pull to refresh UITableView without UITableViewController
- UIView – How to get notified when the view is loaded?
- How to show UIAlertController from Appdelegate
- iPhone In-App Purchase Store Kit error -1003 “Cannot connect to iTunes Store”
- Change the color of a link in an NSMutableAttributedString
- How to get back “Allow Push Notifications” dialog after it was dismissed once?
- ARC, Blocks and Retain Cycles
- Enable/Disable Apple Push Notification from iPhone app?
- Accelerometer Low Pass Filtering
- Disable bounce effect in UIPageViewController [duplicate]