I want to get access to the user-friendly Time Zone list that appears in the Settings > General > Date & Time. Can someone help in providing the code for this?
S
Try this:
let timezone = TimeZone.current.identifier
This will return "America/Sao_Paulo".
Sorry, this will get all list:
let array = TimeZone.knownTimeZoneIdentifiers