Media & Entertainment

Swift Concurrency for AVPlayer: Actors and async/await

Introduction Here’s a bug you might recognise. A user taps “Next episode” while the current one is still loading, and a second later an error screen pops up over the new episode. The error actually belongs to the previous one, which failed late. Bugs like this are easy to blame on AVFoundation, but they’re really […]

Mukul Sharma
Mukul Sharma
Read

iOS

Every iPhone Duo State Your Video Player Must Handle

Introduction iPhone Duo is the first iPhone that folds. It has a 5.4-inch outer display, a 7.6-inch inner display, Split View, and a hinge that can stop halfway. For most apps, that means a few layout fixes. For a streaming app, it means the screen can change size, shape and even display while a video […]