Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // AWETapeViewController.m
- - (void)handleSizeTransitionCorrection:(CGSize)size
- {
- CGFloat currentHeight = self.view.frame.size.height;
- // Height changes on rotation, but not when multitasking via split view
- if (currentHeight != size.height) {
- [super handleSizeTransitionCorrection:size];
- [self.collectionView reloadData];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement