Guest User

Untitled

a guest
Jan 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. -(void) autoResizeForAccordion
  2. {
  3. y = [mAccordionView frame].size.height;
  4. [[self window] setFrameSize:CGSizeMake(CGRectGetWidth([[self window] frame]), y+160+30)]; // ontop of accordion there is a static window (160) and a button (30)
  5.  
  6. }
Add Comment
Please, Sign In to add comment