I am using collection view and getting a crash in ios 7 but it's working fine above 7. Getting crash after the line: [self dismissViewControllerAnimated:YES completion:nil];
the error message here:
*** Assertion failure in -[UICollectionView layoutSublayersOfLayer:], /SourceCache/UIKit_Sim/UIKit-2935.137/UIView.m:8794
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Auto Layout still required after executing -layoutSubviews. UICollectionView's implementation of -layoutSubviews needs to call super.'
See Question&Answers more detail:os