title: How do i resolve default iOS elements to a particular trait?
body: <p>How do i resolve a default iOS system element, like say <code>UISegmentedControl</code>, to a particular interface style?</p>
  
  <p>I know colors can be resolved like this.</p>
  
  <pre><code>color.resolvedColor(with: UITraitCollection(userInterfaceStyle: .dark))
  </code></pre>
  
  <p>How do i do the same for default iOS elements?</p>