Advertisement
Guest User

Untitled

a guest
Oct 9th, 2015
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // AWETapeViewController.m
  2.  
  3. - (void)handleSizeTransitionCorrection:(CGSize)size
  4. {
  5.     CGFloat currentHeight = self.view.frame.size.height;
  6.    
  7.     // Height changes on rotation, but not when multitasking via split view
  8.     if (currentHeight != size.height) {
  9.         [super handleSizeTransitionCorrection:size];
  10.         [self.collectionView reloadData];
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement