Skip to content

Subviews Layout Cycle #4

@dsdcorp

Description

@dsdcorp

Reassigning of the header view causing another system calls to relayout subviews. The program hangs in a loop.
You should somehow break this "forever cycle". For example, insert some kind of checking, like this:

if (frame.size.height != height) {
  frame.size.height = height
  headerView.frame = frame
  
  tableView.tableHeaderView = headerView
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions