Excuse me if this is not the case, but are you sure you really want to access the time zone support setting from the following location?
- Settings.app → Mail, Contacts, Calendars → Time Zone Support
I would not have made this message differently, but you made me think when you stated the following:
The problem is that systemTimeZone is always located where the device is located, and not the value set in the device settings in the Support for time zones section.
Unfortunately, your statement here is not entirely correct. +systemTimeZone
will return the time zone where the actual location of the device is , unless the user has turned it off. Set automatically and selected a specific time zone in the following location:
- Settings.app → General → Date and Time
This will change the time zone that will be used in the system-wide mode, which is immediately reflected by the time in the status bar, which sets up for the new setting.
What you tried to access earlier seems to focus on how calendar appointments are presented in your own Calendar.app, and will seem to be closed to this application (along with the rest of the settings in this area).
If you are looking for access to an effective time zone setting for the entire system, which can be changed by the user, then the time zone by date and time is the way to go. This will be the value returned by +systemTimeZone
.
On the other hand, if you really need to access the time zone support settings in the Mail, Contacts, Calendars sections, I’m afraid that I can’t help you, and I apologize for the distraction.
source share