Lock-screen Widget in iOS 16: .accessoryInline without date

Hi,

When I create a lock-screen widget with .accessoryInline, short date is always displayed as you can see in the screenshot below:

The text "Thu 21" does not come from my widget. How can I eliminate this?

Thanks,

Kaz

I don't think you can. With the system widgets, they all have the date next to them. Your widget will be placed next to the date text, no matter what.

I just got stung by this. I've been developing my app in the Simulator for weeks now, and finally needed to update my iPhone to iOS 16.

Some of the past few weeks was spent on making the text in the inline widget appear centred. Once it got deployed to the iPhone, the date appears, the image is just a block, and my countdown timer isn't displayed. This means a total rewrite of the inline widget.

Would it really hurt Apple to have the Simulator's Lock Screen appear the same as an actual Lock Screen so we know what our widgets are going to look like while we develop them?

Lock-screen Widget in iOS 16: .accessoryInline without date
 
 
Q