ios - Adding a view between TabBarController & NavigationController -


i have tab bar controller each of view controllers navigation controller. want block of views within 1 of navs (alertview style) black transparent view, should cover nav bar @ top, without covering tab bar @ bottom. so, if @ docs (views of tab bar controller - figure 2) want cover custom content nav bar included.

i don't believe there's easy solution this, suggestions appreciated.

if want add alertviewstyle 1 of uiviewcontroller should try code:

  //you can replace uiview custom uiview class     uiview *view = [[uiview alloc] initwithframe:cgrectmake(0, 0, self.navigationcontroller.view.frame.size.width, self.navigationcontroller.view.frame.size.height)];     view.backgroundcolor = [uicolor graycolor]; // set desired color     [self.navigationcontroller.view addsubview:view]; 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -