title: How to programmatically group items when using switch control of IOS?
body: <p>When using the <code>Switch Control</code> accessibility feature of <code>iOS</code>, you can turn on "Group Items" to improve the scanning speed. </p>
  
  <p>But does anyone know, how the system decides which controls should be <code>grouped</code> together and which should not?</p>
  
  <p>I have tried laying out the controls in many different ways, but still cannot figure out the logic.</p>
  
  <p>Thanks</p>