title: iOS -- how do you control the size of a modal view controller?
body: <p>I am presenting a modal view controller.  If it matters, it is scrolling up from the bottom.  How can I control what portion of the screen it occupies?</p>
  
  <p>EDIT:  I have the following in the modal view controller.  It's not helping.</p>
  
  <pre><code>- (void)viewDidLoad {
      TestResultView *trv = [[TestResultView alloc]initWithTest: [Model m].currentTest];
      self.view = trv;
      trv.frame = CGRectMake(0, 320, 320, 160);
      [trv release];
      [super viewDidLoad];
  }
  </code></pre>