title: Fitting a UIDatePicker into a UIActionSheet
body: <p>I'm trying to get a UIDatePicker with a UIButton to show up in a UIActionSheet. Unfortunately it gets cropped off and the entire Date Picker is not visible. I have not even attempted to add the UIButton yet. Can anyone suggest on getting the entire view to fit properly? I'm not sure how to add the proper dimensions as UIActionSheet seems to lack an <code>-initWithFrame:</code> type constructor.</p>
  
  <pre><code>UIActionSheet *menu = [[UIActionSheet alloc] initWithTitle:@"Date Picker" 
                                                    delegate:self
                                           cancelButtonTitle:@"Cancel"
                                      destructiveButtonTitle:nil
                                           otherButtonTitles:nil];
  
  // Add the picker
  UIDatePicker *pickerView = [[UIDatePicker alloc] init];
  pickerView.datePickerMode = UIDatePickerModeDate;
  [menu addSubview:pickerView];
  [menu showInView:self.view];
  
  [pickerView release];
  [menu release];
  </code></pre>
  
  <p>I've also tried with something similar to:</p>
  
  <pre><code>UIActionSheet *menu = [[UIActionSheet alloc] initWithFrame:CGRectMake(200.0, 200.0, 100.0f, 100.0f)];
  </code></pre>
  
  <p>The coords are ofcourse not realistic, but they don't seem to affect the position/size of the UIActionSheet.</p>