Autolayout fails on UICollectionView when LaunchScreen is specified

Originator:craig.hockenberry
Number:rdar://20420207 Date Originated:03-Apr-2015 01:36 PM
Status:Closed Resolved:Yes
Product:iOS SDK Product Version:8.2
Classification:Serious Bug Reproducible:Always
 
Summary:

The auto layout constraints for a UICollectionViewCell fail to update correctly in the UICollectionView when a Launch Screen File is specified for the project.

Steps to Reproduce:

1) Open the attached project (AutoSplayout.zip)
2) Build and run the project on an iPhone 6 (Simulator or Device)

Expected Results:

The cells and their content should resize so that the edges touch.

Actual Results:

There are gaps between the cell columns.

(Note: Since the cells are 80 x 80 pts, this layout will fit perfectly on an screen with 320 pt, so the behavior won’t be seen on an iPhone 5.)

Regression:

N/A

Notes:

The problem can be “fixed” by removing the Launch Screen File (LaunchScreen.xib) from the AutoSplayout Target and doing a clean build.

http://files.iconfactory.net/craig/bugs/AutoSplayout.zip

--------

There was a loose nut behind the keyboard. Nevermind.

http://files.iconfactory.net/craig/bugs/AutoSplayout2.zip

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!