iphone - background image confusion using UINavController -


i having trouble explaining myself here best attempt.

i have rootviewcontroller has unique background imageview (placed in ib). when user advances screen navigationcontroller loaded in standard background color , can advance through next screens. possible have 1 image stay background, know can use:

self.tableview.backgroundcolor = [uicolor clearcolor];

to allow background show through, reason when see first background image(the unique one), not 1 have added navigation controller.

this code use add bg nav controller:

uiimage *img = [uiimage imagenamed:@"v3_default_bg.png"]; uiimageview *bgview = [[uiimageview alloc] initwithframe:self.view.frame]; bgview.image = img; [appdelegate.navigationcontroller.view sendsubviewtoback:bgview]; 

my question this, possible apply non-unique background navigationcontroller.

i tried addsubview: instead of sendsubviewtoback: blocks out content. lend me thoughts? thanks.

[appdelegate.navigationcontroller.view sendsubviewtoback:bgview]; 

does not add subview navigationcontroller.view. need add it, send back:

[appdelegate.navigationcontroller.view addsubview:bgview]; [appdelegate.navigationcontroller.view sendsubviewtoback:bgview]; 

Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -