I'm afford to ask this question because after large research almost 2days of Googling, Stack Overflowing, etc...
My issue is this: I'm presenting ViewController from my main ViewController like this:
UINavigationController *navigation = [[UINavigationController alloc] initWithRootViewController:VController];
navigation.transitioningDelegate = self;
navigation.modalPresentationStyle = UIModalPresentationCustom;
[self presentViewController:navigation
animated:YES
completion:nil];
whenever an iPhone user is in call, or is using his or her phone as a hotspot, status bar is enlarged pushing my modaly presented VC to the bottom but the origin is set to (0;0) The problem is when user finish call during he is in my application status bar resize to normal size but Modal VC didnt move up.
I knew about this when it happen in code thanks to this notification:
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(statuBarChange:) name:UIApplicationDidChangeStatusBarFrameNotification object:nil];
The worst thing is that the frames are corect and origin are still (0,0)
is there a way to refres modal presented vc ? with out dissmiss and presenting it again ?