I want to change the position of UIImageView and button in view controller when status bar height will be increased.
I have changed the view frame by comparing status bar height and I also know that below method will be called when status bar frame will be changed but it will be called in delegate.
- (void)application:(UIApplication *)application willChangeStatusBarFrame:(CGRect)newStatusBarFrame
- (void)application:(UIApplication *)application didChangeStatusBarFrame:(CGRect)oldStatusBarFrame
but I want to change position of image view & button in view controller so how can I do that?