Latest macOS SDK and I’ve realised that the “onSpotlightVideoUserChange” delegate call is broken. I assume to do with the addition of the multi-spotlight features.
What appears to happen now is:
- Spotlight a user, and method is called as expected
- Remove that user from spotlight and you get a call to the method as expected, with “false” but a userID of zero (where you would expect the ID to be the user that was spotlit
It gets more weird with multi-spotlighting people…
- Spotlight a second user and you appear to get a rougue “false” call for user 0, but no “true” call for the additional spotlit user
- spotlight a third user and the method isn’t called at all - this is especially annoying as it means you can’t even track that the gallery has changed