title: UISlider setMaximumTrackTintColor
body: <p>I'm trying to dynamically configure the track color on a UISlider. </p>
  
  <p>This line of code works perfectly for setting the low side of the slider track. </p>
  
  <p><code>[self.sliderBar setMinimumTrackTintColor:[UIColor redColor]];</code></p>
  
  <p>When trying to do the same thing for the high side of the slider track, this line of code reports 3 fatal errors to the debug log. </p>
  
  <p><code>[self.sliderBar setMaximumTrackTintColor:[UIColor redColor]];</code></p>
  
  <pre><code>&lt;Error&gt;: CGContextAddPath: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
  
  &lt;Error&gt;: clip: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
  
  &lt;Error&gt;: CGContextDrawLinearGradient: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
  </code></pre>
  
  <p>I have also tried to set the track tint colors using dot notation, but the same 3 errors were reported. </p>
  
  <p><code>self.sliderBar.maximumTrackTintColor = [UIColor redColor];</code></p>
  
  <p>I am very confused why the minimum track tint color is properly set, while the maximum track tint color is breaking. Any assistance would be greatly appreciated. </p>
  
  <p>This issue seems to be related to <a href="https://stackoverflow.com/questions/19599266/invalid-context-0x0-under-ios-7-0-and-system-degradation?rq=1">this</a> question, but I'm not 100% sure since I'm not working with graphics (only setting the tint color).</p>