title: UIDatePicker constraints not working in device
body: <p>I am using UIDatePicker control in my project.  Added the UIDatePicker in xib file, and programmatically setting the constraints such as minimumDate, maximumDate to the datePicker.  This is working fine in simulator, but in device I am able to select any date in datePicker.</p>
  
  <p>Sample code:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      [self.datePicker setMinimumDate:[NSDate date]];
      [self.datePicker setMaximumDate:[[NSDate date] dateByAddingTimeInterval:3*24*60*60]];
  }
  </code></pre>
  
  <p>screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/LTbjq.png" alt="Here, i am able to select the previous dates also."></p>
  
  <p>Note: I am working on xcode5 - DP6.</p>
  
  <p>Thanks in advance.</p>