title: UISlider won't work when it becomes a subview of a UIView other self.view
body: <p>When I add my slider as subview of any view besides self.view it does not work (doesn't slide) but it works fine when it is a subview of self.view. You can see it on the other views besides self.view but it doesn't work.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>alphaSlider = [[UISlider alloc] initWithFrame:CGRectMake(0, 0, 90, 10)];
      [alphaSlider setMinimumValue:0.01];
      [alphaSlider setMaximumValue:1];
      [alphaSlider setValue:0.5];
      [alphaSlider setUserInteractionEnabled:YES];
      [alphaSlider addTarget:self action:@selector(alphaSliderDidChange:) forControlEvents:UIControlEventValueChanged];
      alphaSlider.continuous = YES;
  [submenu addSubview:alphaSlider];
  </code></pre>
  
  <p>Any way to fix this?</p>