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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -