
General Process:
- Create the action method in your Controller to process events from the slider.
- Add an Outlet to your Controller header file IBOutlet UISlider *slider;.
- Mark this method with the (IBAction) macro.
- Bring up your .xib in Interface Builder
- Add a slider control (UISlider) to the View
- Make a connection from the slider control to the Controller object...when you release it you will be prompted to select the action to be invoked.
- Save everything and test it out.
Simple!
No comments:
Post a Comment