Group Group Group Group Group Group Group Group Group

iPad split view + dragging one of the windows to change size + collection view cells' corner radius issues

custom cell has the below and invalidate layout in viewWillTransition

visual debugger indicates width = height; don’t know why it renders an ellipse looking shape

override var bounds: CGRect {
  didSet {
   self.layoutIfNeeded()
  }
}

override func layoutSubviews() {
  super.layoutSubviews()
  let radius = self.categoryImageBackground.frame.height / 2
  self.categoryImageBackground.layer.cornerRadius = radius
}

what should I be looking into?