iphone - How can I make my UINavigationBar not look all scrunched up? -


following these instructions of making view controller 2 child controllers pans similar sidebar layout, makes navigation bar scrunched when sidebar opened.

enter image description here

is there way me fix autolayout issue?

edit -

- (void)viewdidload {     [super viewdidload];   self.leftcon.constant = -280;     // additional setup after loading view.   //[self slidetotheright]; }  -(void)slidetotheright{   self.sidebaropened = yes;    [uiview animatewithduration:0.5 animations:^{     self.leftcon.constant = 0;      }]; }  -(void) slideback{   self.sidebaropened = no;    [uiview animatewithduration:0.5 animations:^{     self.leftcon.constant = -280;   }]; } 

enter image description here

basically right bar button item , titleview somehow end squished against right side of screen when left constraint changed -280 0.

i had remove constraint right child view trailing width.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -