Items in the UICollectionView disappear occasionally

Originator:rfmanuel
Number:rdar://14383299 Date Originated:7/8/2013
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 7 Beta 3
Classification:Severe Reproducible:Sometimes
 
Summary: When you use a UICollectionViewCell from a xib, UICollectionView items will disappear occasionally on rotation and when you update the frame of the collection view.  If you use a cell from within a storyboard, the problem does not occur.  See attached for a sample project as well as a video of the issue occurring.  In collectionView:cellForItemAtIndexPath: in the sample project if you uncomment out the commented line and then comment out the other line, the issue does not occur.

Steps to Reproduce: Create a project similar to the sample project.  Run the project.  When the frame of the collection view gets updated, a row gets visually removed from the collection view.  If you scroll and rotate, it is possible for several items to be removed as well.

Expected Results: All items remain in the collection view.

Actual Results: Items are removed.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!