// 由UIDatePicker 获得年龄
// MARK: Get age
let now = Date()
let gregorian = Calendar(identifier: Calendar.Identifier.gregorian)
let components = (gregorian as NSCalendar?)?.components(NSCalendar.Unit.year, from: birthdayPicker.date, to: now, options: [])
let age: Int? = components?.year