Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 5th, 2012  |  syntax: Objective C  |  size: 0.18 KB  |  views: 206  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. - (CGSize)sizeThatFits:(CGSize)size {
  2.     return CGSizeMake(1024, 62);
  3. }
  4.  
  5. - (void)layoutSubviews {
  6.     [super layoutSubviews];
  7.     self.frame = CGRectMake(0, 20, 1024, 64);
  8. }
clone this paste RAW Paste Data