.shouldInvalidateLayoutOnStateChange(true,animated:self.animateChange)/// ////////////////////// TELLS ASCOLLECTIONVIEW TO INVALIDATE THE LAYOUT WHEN THE VIEW IS UPDATED
/// We explicitely provide a height here. If providing no delegate, this layout will use auto-sizing, however this causes problems if rotating the device (due to limitaitons in UICollecitonView and autosizing cells that are not visible)
//Intended as a temporary workaround for a SwiftUI bug present in 13.3 -> the UIViewController is not moved to a parent when embedded in a list/scrollview
//Intended as a temporary workaround for a SwiftUI bug present in 13.3 -> the UIViewController is not moved to a parent when embedded in a list/scrollview
coordinator?.onMoveToParent()
}
}
// MARK: PUBLIC layout modifier functions
@available(iOS13.0,*)
publicextensionASCollectionView
{
...
...
@@ -960,14 +1028,17 @@ public extension ASCollectionView