UIScrollView and subclasses cause ambiguous scrollable content warning in Xcode 6

Originator:jamie
Number:rdar://17646396 Date Originated:July 11, 2014
Status:Resolved Resolved:July 29, 2014
Product:Xcode Product Version:6.0 (6A254o)
Classification:Other Bugs Reproducible:Always
 
Summary:
In Xcode 6 beta 3, placing UIScrollView (or its subclasses) into a view controller and adding auto layout constraints causes Interface Builder to complain about ambiguous scrollable content, even though the scroll view has no subviews.

Steps to Reproduce:
1. Create a new single view application in Xcode 6
2. Add a UIScrollView to the view controller in interface builder
3. Add auto layout constraints for leading, trailing to superview, and top & bottom to layout guides.

Expected Results:
No errors or warnings

Actual Results:
Error that the scroll view contains ambiguous scrollable content.

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!