views:

73

answers:

1

Hi, I am trying to change the font size of my UITextView using the value from a UISlider. i need some tips or sample code :) thank you .

+1  A: 
  1. Create a UISlider.
  2. Add your view controller as a target for UISlider's value changed event, i.e.:

    [slider addTarget:self action:@selector(sliderActionHandler:)
     forControlEvents:UIControlEventValueChanged];
    
  3. Change the font size inside this handler.
Shaggy Frog