简体   繁体   中英

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. My conclusion on it... 1. iCal (iOS native app) changes its event time according to time zone set in system preferences. Means fully support for iOS time zone override features.

2.Other Calendar App not changes event time for any time zone value set in system preference for iOS time zone override features.

  1. In My calendar app if i set time zone value other from my current time zone than no event fetch except all day event.

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

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?

If no, you can look to Apple docs: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSDateFormatter_Class/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM