I have a rather complex view layout:
ViewController
- TableViewController inside ContainerView (as child view controller)
- TableViewCell which holds UICollectionView with subclassed (custom) FlowLayout
When trying to add a UICollectionElementKindSectionHeader
supplementary view through my subclassed FlowLayout, I'm getting the following error:
*** Assertion failure in -[MyCollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:withLayoutAttributes:applyAttributes:], /SourceCache/UIKit_Sim/UIKit-2935.137/UICollectionView.m:1305
Tried solution proposed here: UICollectionView + iOS 7 / Xcode 5 = Assertion Failure but without any luck. I am using Dynamic Auto-Layout Height for my TableViewCells and am wondering if that could have to do w/ it...
Anyone have an idea or could point me in the right direction to troubleshoot? Thanks!