Created a custom UISlider

I created a custom UISlider using the following code:

[_slider setThumbImage:[UIImage imageNamed:@"slider_tab.png"]
forState:UIControlStateNormal];
[_slider setThumbImage:[UIImage imageNamed:@"slider_tab.png"]
forState:UIControlStateHighlighted];
[_slider setMinimumTrackImage:[UIImage imageNamed:@"slider_minimum.png"]
forState:UIControlStateNormal];
[_slider setMaximumTrackImage:[UIImage imageNamed:@"slider_maximum.png"]
forState:UIControlStateNormal];