The Mystery of the Play Button that Acts as a Back Button

The Mystery of the Play Button that Acts as a Back Button

Even just cruising in maintenance mode, minding your own business, bugs just show up. This week I noticed a weird one – hitting the Play button in the iOS version of my Talk Dim Sum app would pop back to the parent page, acting like a Back button. But only when the parent page is a collection of exactly two items.

At first, I suspected everyone: SwiftUIPager (used to page among the dish screens), and QGrid (the collection view), but some googling (or binging, or duckduckgoing) found me a workaround for this apparent new bug (iOS 14.5), by adding an empty NavigationLink to the parent page.

I notice in the functioning NavigationLink already have another hack for a cryptically commented iOS 14 bug. I wish I'd included a link, because I can't remember what it was. For the umpteenth time, it'd be nice if Apple had an open bug database, but for now, stackoverflow will have to do.

Subscribe to Technicat

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe