One more shitty hack to get some bug out of the way
When the app recovers from a fullscreen window overlay, the frame of the navigation bar isn't updated properly, and causes some weird issues with the navbar, so we hard code the navbar height for now, and see what happens
This commit is contained in:
parent
116ff631cc
commit
e658e03c0a
|
|
@ -98,6 +98,14 @@
|
|||
self.view.center = self.expandedCenterValue;
|
||||
[self.child expand];
|
||||
|
||||
#warning HACK - one more hack :(
|
||||
if ([self.view isKindOfClass:[UINavigationBar class]]) {
|
||||
CGRect newFrame = self.view.frame;
|
||||
newFrame.size.height = MAX(44.f, newFrame.size.height);
|
||||
|
||||
self.view.frame = newFrame;
|
||||
}
|
||||
|
||||
return amountToMove;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue