[英]How to support iOS Timezone override for my iOS calendar app?
I did some RnD on iOS calendar application to check behavior on iOS timezone override enabled. 我在iOS日历应用程序上做了一些RnD,以检查启用了iOS时区覆盖的行为。 My conclusion on it... 1. iCal (iOS native app) changes its event time according to time zone set in system preferences.
我的结论... 1. iCal(iOS本机应用程序)根据系统偏好设置中设置的时区更改其事件时间。 Means fully support for iOS time zone override features.
表示完全支持iOS时区覆盖功能。
2.Other Calendar App not changes event time for any time zone value set in system preference for iOS time zone override features. 2.Other日历应用不会更改系统偏好设置中为iOS时区覆盖功能设置的任何时区值的事件时间。
Plz help me on this if possible. 请在可能的情况下帮助我。 Thanks in advance dear.... :)
预先感谢亲爱的.... :)
Time zone override enable stpes: Go to Iphone Settings > Mail, Contacts, Calendars > Scroll down to Calendar > Timezone Override > Switch it ON 启用时区覆盖启用stpes:转到Iphone设置>邮件,联系人,日历>向下滚动到日历>时区覆盖>启用它
I'm not sure if I understand your question completely, since it seems quite vague, but did you tried using NSDateFormatter and set locale for it? 我不确定我是否完全理解您的问题,因为它似乎很模糊,但是您是否尝试过使用NSDateFormatter并为其设置语言环境?
If no, you can look to Apple docs: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSDateFormatter_Class/ 如果否,则可以查看Apple文档: https : //developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSDateFormatter_Class/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.