tags:

views:

7

answers:

0

Hi,

I have a TABBAR app with a custom mod that brings up an alertview when you press a tabbar button. This then loads a UIViewController using initwithNibName depending on the menu option you choose.

That shows a UIView that works fine. The view downloads a url and prepares an array for a tableview. That's when the trouble starts.

I can't find a way to load the UITableview I have in the Nib file. I have tried everything I know.

  1. self setview:tableviewname
  2. self.view = tableviewname
  3. self addSubview: tableviewname
  4. self presentModalViewController:tableviewname animated:YES

I'm at a loss as to how to get this to work. Any help appreciated..