navigationController.navigationBar.clipsToBounds = YES;
In order UINavigationBar increase its background in the status bar, its clipsToBounds must be set to NO (default). Make sure you donβt mock him.
The solution is simple: -
navigationController.navigationBar.clipsToBounds = NO;
source share