iOS insert View between Navigation Bar and View underneath it -
i want insert uiview
between navigation bar , uiview (underneath navigationbar
) show network connectivity status. view underneath nav bar should go downward make space indicatorview
.
my code:
indicatorview = [[uiview alloc] initwithframe:cgrectmake(0, 0, view_width, 35)]; [self.view addsubview:indicatorview]; self.view.frame = cgrectmake(0, 35, view_width, view_height - 35);
this inserts view whole window shift upwards , create space @ bottom of view. what's wrong?
Comments
Post a Comment