Search results for

calendar

1,869 results found

Post

Replies

Boosts

Views

Activity

iOS VPN profile Mail domains is not working but accessing it via Safari Domains work
Hi, We have a profile to set the VPN configuration of the device. It is a DEP device with per app vpn setting: https://developer.apple.com/documentation/devicemanagement/applayervpn We set the following fields: Safari Domains,Calendar Domains,Contacts Domains,Mail Domains We also add a couple of apps to the profile to restrict VPN usage. The domains we use are internal domains, so the DNS of the system is set within VPN connection. When we access the sites via Safari VPN works fine and we can access them, when we try Mail apps or try adding account via Settings then it fails. We tried both packet-tunnel and app-proxy in the AppLayerVPN.VPN settings but it still did not work. (https://developer.apple.com/documentation/devicemanagement/applayervpn/vpn) When we set the VPN on the whole device then the mail app and accounts can be fetched, so we do not think that it is VPN server related. What are we missing here? Any help or advice is appreciated. Thanks Our example profile: xml dict keyIKEv2/key dict k
2
0
1.1k
Mar ’21
Reply to Big Sur Mac Crash 4 times in the last 6 hours - 2 no-report and 2 reports
Received the same error couple of times in my new MacMini M1 (2020), 16GB Memory, 2TB HDD. I was having time machine backup and connected to 2 4K external monitors. Need a fix for this: panic(cpu 4 caller 0xfffffe0029cb1e58): watchdog timeout: no checkins from watchdogd in 94 seconds (3276 total checkins since monitoring last enabled) Debugger message: panic Memory ID: 0x6 OS release type: User OS version: 20D91 Kernel version: Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 Fileset Kernelcache UUID: F78A48EC84D7C3283E7C6C67D00889A7 Kernel UUID: 9FE8C0DA-8ED0-381C-9CEC-2A779F3E1503 iBoot version: iBoot-6723.81.1 secure boot?: YES Paniclog version: 13 KernelCache slide: 0x000000001f240000 KernelCache base: 0xfffffe0026244000 Kernel slide: 0x000000001fd74000 Kernel text base: 0xfffffe0026d78000 Kernel text exec base: 0xfffffe0026e40000 mach_absolute_time: 0xb7b738d5f6 Epoch Time: sec usec Boot : 0x605970f8 0x00049775 Sleep : 0x00000000 0x00000000 Wake : 0x000
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’21
App Store Connect - Not updating sales
Is there an issue with App Store Connect and Sales & Trends? It is January 13th 2:48pm EST and the latest information it will gather is for January 10th. If you click on the calendar (ending date of), January 11 and January 12 are grayed out. I've never had this issue before. I did a search and there is a website that states that reports were updated.
4
0
3.9k
Mar ’21
Reply to Testing a Locale with custom grouping separator
There is no API to do this. Locales are essentially immutable objects, all the way down to the CFLocale level, so the only viable strategy here is to create the locale with the group separator you want. And while the locale string format supports keywords [1], there is not, alas, a keyword to override the group separator )-: ps Can you drop me a line via email? My address is in my signature. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] See ICU Locales and Resources Keywords. unicode-org.github.io/icu/userguide/locale/#keywords For example: let d = Date(timeIntervalSinceReferenceDate: 637836118.0) let df = DateFormatter() df.dateStyle = .medium df.locale = Locale(identifier: ja_JP) print(df.string(from: d)) // prints: 2021/03/19 // that is, Gregorian calendar with Japanese formatting df.locale = Locale(identifier: ja_JP@calendar=japanese) print(df.string(from: d)) // prints: R3/03/19 // that is, Japanese calendar
Topic: App & System Services SubTopic: General Tags:
Mar ’21
Reply to DateFormatter doesn't Works
I fixed. No you didn’t. Well, you fixed this specific problem but you have not fixed the problem in general. The fundamental problem here is that the Gregorian calendar can be customised by your locale. For example, if you’re in the US, which defaults to 12-hour time, and you force the system to use 24-hour time (in System Preferences Language & Region General), you end up with a slightly tweaked Gregorian calendar. If you want to avoid this sort of thing, you should set the locale to en_US_POSIX. It’s specifically designed to work with non-localised values. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Mar ’21
Reply to Is there anyway to add something the shows there is an event happening on that day in a DatePicker?
Or would I have to create a custom calendar to do this? I'm afraid so. As far as I know and checked the documentations by Apple, and searched on the web for a short while, I could not find any options or modifiers to customize the calendar shown in GraphicalDatePickerStyle. You can send a feature request using Apple's Feedback Assistant.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21
Why is this returning nil
Hi, this code is returning nil always. So frustrating! let today = Date() let calendar = Calendar(identifier: .gregorian) let components = calendar.dateComponents([.weekday], from: today) let nineThirtyToday = Calendar.current.date( bySettingHour: 90, minute: 30, second: 0, of: today) print(nineThirtyToday as Any) if components.weekday == 4 { if today = nineThirtyToday! { if UDM.shared.widgetDefaults?.value(forKey: currentRiddle) as! String == currentRiddleFinal { currentRiddleFinal = Waiting for update from server } }else { print(Not Nine Thirty) } } UDM.shared.widgetDefaults?.setValue(currentRiddleFinal, forKey: currentRiddle) print(Current Riddle: (currentRiddleFinal)) } Thanks in advance!
9
0
1.6k
Mar ’21
Reply to Why is this returning nil
Where would I put that? If you are showing the date just for debugging, you usually do not use DateFormatter and calculate the time difference between UTC and your region. I guess 17:30 UTC is 09:30 of your region, no? Then your code works as you expect. Only when you need to create a string representation for users, you need DateFormatter to convert Date to String. If you do want to use DateFormatter even for debugging output, you can write something like this: let calendar = Calendar(identifier: .gregorian) let components = calendar.dateComponents([.weekday], from: today) let nineThirtyToday = calendar.date( bySettingHour: 9, minute: 30, second: 0, of: today) let df = DateFormatter() df.timeZone = TimeZone.current df.dateStyle = .short df.timeStyle = .short print(df.string(from: nineThirtyToday ?? Date.distantPast)) (I recommend you to use the same calendar instance when getting components and nineThirtyToday to get consistent values.)
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’21