title: UIDatePicker with "done" button
body: <p>I need to add a "done" button to my date picker like in this image:</p>
  
  <p><img src="https://i.stack.imgur.com/kvNWI.png" alt="enter image description here"></p>
  
  <p>This is my code:</p>
  
  <pre><code>-(IBAction)chooseDate:(id)sender{
  self.datepicker= [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 0, 320, 216)];
      self.datepicker.datePickerMode = UIDatePickerModeDate;
      datepicker.backgroundColor = Rgb2UIColor(52, 170, 220);
  
      [self.btnDone
                  addTarget:self
                  action:@selector(SetDatePickerTime:)
                  forControlEvents:UIControlEventTouchDown];
  
   [self.view addSubview:self.datepicker];
  }
  </code></pre>