iphone - resize uinavigationbar push/pop viewcontroller size issue -
I have to reduce the height of UINavigationBar (linked to UINavigationController)
I have done this Controller via Navigation of UINAVigationControllerDelegate: Visual ViewController method, and it is working fine.
The problem is the visual view controller that is in the main view. Thus, theShowViewController method also resizes the viewcontroller's visual frame, which works fine, thus it was not resizing itself to reflect the new navbar height.
However, when I'm going to push on a new view controller, or pop, I always see the view that during the animated transition, the next scene falls into the original position. Then, in the NavControllerDelegate, I did it because of the code in the ShoveView controller, it has taken it back up
I have the best way to make sure that the change never happens below.
I tried to keep the code that changes the frame again in the WhiView controller, but it does nothing.
I have also made sure that the frame of UIView, which is the view of the UIVIIUUTUL controller that is popping, is also one of the proper / transmitted dimensions. Nobody goes there
It seems that I need to block the drawing actions after push ViewController is applied, and before the UINavigationController's ShowShowViewController is called.
I'm stalking for my code Hours & amp; Hours ... There is no hope of getting anywhere that it makes sense to anyone.
I think another option is to set navigation controllers Navigation bar will equal the Yes, this will completely hide the NAV bar and then you can attract the place you want to be in the place that was repeatedly used. Just control the scenes by wrapping navigation methods (push, pop, etc ...)
Comments
Post a Comment