Changing UIAccelerometer's updateInterval via a UISlider
===

I'm trying to change my UIAcceleromter's updateInterval via a UISlider that I have in my .xib. My NSLogs shows me the values perfectly, but the acceleromter's interval does not increase in speed when I move the slider. I'm not sure what's wrong.

I appreciate any help offered. Here is my code:

ViewController.h:

    #import <UIKit/UIKit.h>
    
    @interface ViewController : UIViewController <UIAccelerometerDelegate> {
    
    }
    
    - (IBAction)sliderValueChanged:(UISlider *)slider;
    
    @end

ViewController.m:

    #import "ViewController.h"
    
    @interface ViewController ()
    
    @end
    
    @implementation ViewController
    
    @synthesize XAxis, YAxis, delta;
    
    float value;
    
    - (void)viewWillAppear:(BOOL)animated
    {   
        UIAccelerometer *accel = [UIAccelerometer sharedAccelerometer];
        accel.delegate = self;
        accel.updateInterval = 1.0f * value;
        
        NSLog(@"Value: %f",value);
    }
    
    - (void)viewDidLoad
    {
        [super viewDidLoad];
    }
    
    - (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration
    {
        NSLog(@"X: %g",acceleration.x);
        NSLog(@"Y: %g",acceleration.y);
        NSLog(@"Z: %g",acceleration.z);
    }
    
    - (IBAction) sliderValueChanged:(UISlider *)slider 
    {  
        value = slider.value;
        NSLog(@"Value: %f",slider.value);
    } 
    
    - (void)viewDidUnload
    {
        [super viewDidUnload];
        // Release any retained subviews of the main view.
    }
    
    @end