title: Convert gregorian datepicker to persian datepicker in swift?
body: <p>How can I convert Gregorian datepicker to persian datepicker in Swift language ?</p>
  
  <pre><code>func datePickerValueChanged(sender: UIDatePicker) {
  
      let dateFormatter = NSDateFormatter()
  
      dateFormatter.dateStyle = NSDateFormatterStyle.MediumStyle
  
      dateFormatter.timeStyle = NSDateFormatterStyle.NoStyle
      dateFormatter.dateFormat = NSCalendarIdentifierPersian
  
      dateOutlet.text = dateFormatter.stringFromDate(sender.date)
  
  }
  </code></pre>
  
  <p>I changed date format to<code>NSCalendarIdentifierPersian</code> but there isnt any change in datepicker? </p>