ios9 - Since update to Xcode 7 and iOS 9, UICollectionView freezes the app -


we have uicollectionview embedded in uiviewcontroller using container , using storyboard.

when app loads , collection view trying load. app freezes without warnings or errors!

the same code has been working in ios 8 , xcode 6. production version of app same code works ios 9, too.

have had similar problem? or have suggestions?

my team has been struggling same issue since upgrading xcode 7 last week. in our case, disabling user interaction whenever displayed activity view:

[[uiapplication sharedapplication] beginignoringinteractionevents]; 

then, in callback block re-enabling user interaction this:

[[uiapplication sharedapplication] endignoringinteractionevents]; 

removing these calls resolved 3 out of 4 of these issues in our code; can fix issue well. in event, haven't come better approach of yet.

this code worked fine in ios 6, 7 , 8 reason not working in ios 9. ios 9 release notes don't mention this, , method not marked deprecated not sure going on. guessing apple changed under hood enforce rule more strictly, maybe shortcut able away in past no longer working. if has thoughts why happening hear them can understand issue better.


Comments