Hi,
I am in the process of developing an add-on widget for one of my apps that must show a new date at midnight local time.
I've tried using the default widget code, and changing the line to:
Could someone give me a "hint" on what to do?
Thanks,
Dan
I am in the process of developing an add-on widget for one of my apps that must show a new date at midnight local time.
I've tried using the default widget code, and changing the line to:
Code Block let entryDate = Calendar.current.date(byAdding: .second, value: hourOffset, to: currentDate)! let entry = SimpleEntry(date: entryDate) entries.append(entry)
Could someone give me a "hint" on what to do?
Thanks,
Dan