Tuesday, December 31, 2013

How highly dynamic UISlider in the program

UISlider * slider = [[UISlider alloc] initWithFrame: CGRectMake (0, 0, 200, 20)];

How to dynamically change the value in the process at the 20
Reply:
CGRect rect = slider.frame;
rect.size.height = 25;
[Slider setFrame: rect];

No comments:

Post a Comment