How to call the time

Asked on 07/31/2024

1 search

To call the time in an app using the new reference date format style, you can utilize the new features in SwiftUI that allow for the display of live times and dates. These formats include date references, date offsets, and timers, which are deeply customizable and can adapt to the size of their container. This is particularly useful for widgets and live activities.

For more details, you can refer to the session What’s new in SwiftUI at the timestamp 11:37.

Here is a list of relevant sessions mentioned in the context:

  1. What’s new in SwiftUI
  2. Build multilingual-ready apps
  3. Extend your app’s controls across the system
  4. Bring context to today’s weather
  5. Add personality to your app through UX writing
  6. What’s new in watchOS 11