title: iPhone Modal View Smaller that the screen
body: <p>I'm trying to do something that shouldn't be that complicated, but I can't figure it out.
  I have a UIViewController displaying a UITableView. I want to present a context menu when the user press on a row. I want this to be a semi-transparent view with labels and buttons.
  I could use an AlertView, but I want full control on the format of the labels and buttons and will like to use Interface Builder.</p>
  
  <p>So I created my small view 250x290, set the alpha to .75 and create a view controller with the outlets to handle the different user events.</p>
  
  <p>Now I want to present it.
  If I use presentModalViewController two (undesired) things happen
  1) the view covers all of the screen (but the status bar).
  2) It is semi-transparent, but what I see "behind" it its not the parent view but the applications root view.</p>
  
  <p>Ive tried adding it as a subview, but nothing happens, so Im not doing something right:</p>
  
  <pre><code>RestaurantContextVC* modalViewController = [[[RestaurantContextVC alloc] initWithNibName:@"RestaurantContextView" bundle:nil] autorelease];
  [self.view addSubview:modalViewController.view];
  </code></pre>
  
  <p>Is it possible to do what I want?
  Thanks in advance.</p>
  
  <p>Gonso</p>