iphone - how to create a UIView with a UINavController and a UITableView -


i have app and, when press 'i' button, show app view, need have view, background image, uinavigationcontroller , uitableview. how can achieve that, interfacebuilder, or progamatically? it's not done in appdelegate. need done on view. have following code, creates uinavcontroller , uitableview. code i'me unable put uiimage in background:

uitableviewcontroller *tableviewcontroller = [[uitableviewcontroller alloc] initwithstyle: uitableviewstylegrouped]; tableviewcontroller.title = @"about";  uinavigationcontroller *navcontroller = [[uinavigationcontroller alloc] initwithrootviewcontroller: tableviewcontroller];  navcontroller.modaltransitionstyle = uimodaltransitionstylefliphorizontal; [self presentmodalviewcontroller:navcontroller animated:yes];  [navcontroller release]; [tableviewcontroller release]; 

how can it?

thanks, rl

not sure if work worth @ try:

tableviewcontroller.backgroundcolor = [uicolor colorwithpatternimage:[uiimage imagenamed:@"whatever.png"]]; 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -