Question

I have an UIDatePicker that displays the date in an UITableViewCell.

I would like to define to the datePicker to change the date format in the UITableViewCell according to the device international settings. How can I define it?

Thanks!

Was it helpful?

Solution

Take a look at the NSLocale class reference.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top