title: How to add multiple cells in header of a table view (not section header)?
body: <p>I would like to implement segmented controls like this (circled with red) :</p>
  
  <p><a href="https://i.stack.imgur.com/r3xj1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r3xj1.png" alt="enter image description here"></a></p>
  
  <p>(When we scroll this view, the segmented controls stay sticky at the top of the view, that makes me think it's a cell on its own ? but I may be wrong).</p>
  
  <p>I have already implemented a custom cell (that displays kind of what is above the red ellipse in the above picture, in purple) and add it to the header of my table view like so :</p>
  
  <pre><code>BigCell *cell = [self.tableView dequeueReusableCellWithIdentifier:@"BigCell"];
  self.tableView.tableHeaderView = cell;
  </code></pre>
  
  <p>Now, I think I should create a second cell with the segmented controls in it and add it also to the table header (and not in the section header, because I have many sections with their titles). </p>
  
  <p>Then, I would create a UIView containing this two cells and add this view as the header of my tableView ? Is this a correct way to do it ?
  Thank you very much for the help !</p>