I\'m trying to emulate Apple\'s \"Slide to Unlock\" feature in my application. I get to this point (image below), but as you can see the UISlider\'s \"track\" is visible and is
here's an even easier way. No need to create images, just instantiate an empty UIImage class :P
UIImage *clearImage = [[UIImage alloc] init]; [self.slider setMinimumTrackImage:clearImage forState:UIControlStateNormal]; [self.slider setMaximumTrackImage:clearImage forState:UIControlStateNormal];