标签: ios swift string nsdateformatter
嗨,他有两个日期和时间值,想结合起来形成日期和时间
let selectedDateTime = "\(String(describing: selectedDate)),\(String(describing: emptyString)), \(String(describing: selectedTime))"
显示结果“可选(11/11/2011),可选(3:00 AM)”
结果应为“ 11/11/2011 3:00 AM”