Thursday, July 20, 2017

A Favorite Hack

David Smith:

During the introduction of iOS 7 one of the random side effects of the wide reaching changes to the iOS user interface was that app icon badges started to get truncated whenever they got above 4 digits long.

[…]

So I then set out to alter the numbers that were displayed so that if I thought it would get truncated I would replace the least significant digits with 1s until it would no longer be truncated. After a bit of experimentation I found that I needed for a 5 digit number to contain at least two 1s in it in order to be assured that the number wouldn’t truncate. Usually, but not always, the first of these would be the leading digit since getting above 20,000 steps is quite a full day of walking.

It’s not clear to me why he had to remove the badged app icon feature.

Update (2017-07-20): Apparently, App Review recently changed its mind and asked Smith to remove the feature.

1 Comment RSS · Twitter


Adrian O'Connor

Thanks for the update, I'd wondered the same. Good old AppStore review 🙄💁🏼‍♂️🤦🏽‍♀️

Leave a Comment