0

This question has been asked so many times but I am not able to fix this issue. Here is the problem:

  • I have a xib file with many views in it. I am using toolbar. When I show the status bar it overlaps with the toolbar.

  • I can edit view's frame because its disable.

  • I have tried this in appdelegate

    if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {
        [application setStatusBarStyle:UIStatusBarStyleLightContent];
        self.window.clipsToBounds =YES;
        self.window.frame =  CGRectMake(0,20,self.window.frame.size.width,self.window.frame.size.height-20);
    }
    

but it didn't work.

There are so many views in xib file. It's hard to resize each frames.

Please suggest.

ashatte
  • 5,218
  • 7
  • 37
  • 49
Nabeel Thobani
  • 939
  • 10
  • 23

0 Answers0