CLKRelativeDateTextProvider should offer more control

Originator:robotspacer
Number:rdar://27267550 Date Originated:10-Jul-2016 02:04 PM
Status:Open Resolved:
Product:watchOS SDK Product Version:watchOS 2 through watchOS 3 beta 2
Classification:Enhancement Reproducible:N/A
 
Summary:
I have a complication shows a countdown that's usually a number of days, with a text provider like this: [CLKRelativeDateTextProvider textProviderWithDate:date style:CLKRelativeDateStyleNatural units:NSCalendarUnitDay];

In watchOS 2, this usually shows something like "3 DAYS", which is great. If there's less room it might say "3D", which is not as great, but it's OK. In watchOS 3, the "3 DAYS" display has been shortened to "3DAYS", even if there's a huge amount of room, like on the Modular Large complication. This reads really awkwardly.

I would really appreciate it if I had more control over exactly how the text displays. For example:

- I'd like to choose whether there's a space after the number or not
- I'd like to choose whether it should be "3D" or just "3", since it's generally understood that my app will display a day countdown
- Even better, I'd love to have an option to show "Tomorrow" or "Today", when there's room

Steps to Reproduce:
N/A

Expected Results:
N/A

Actual Results:
N/A

Version:
watchOS 2 through watchOS 3 beta 2

Notes:


Configuration:
Apple Watch 42mm

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!