Posts

Post not yet marked as solved
2 Replies
2.0k Views
Not sure when this started, but with iOS/iPadOS/tvOS 15, I cannot AirPlay a video file stored on my iOS/iPadOS device to an Apple TV using AVPlayer. Local audio files work fine and remote video files work fine. It's only local video files that fail to play. The error I get via a NSNotification.Name.AVPlayerItemFailedToPlayToEndTime notification is AVErrorExternalPlaybackNotSupportedForAsset. This is easily reproduced using the 'Integrating AirPlay for Long-Form Video Apps' sample app found here by adding a video file to the project and playing that rather that the m3u8 streams the sample uses by default: https://developer.apple.com/documentation/avfoundation/media_playback_and_selection/integrating_airplay_for_long-form_video_apps Happens with tvOS 15 & 15.1 Anyone else experiencing this issue?
Posted
by tundaware.
Last updated
.
Post not yet marked as solved
0 Replies
427 Views
Despite finally adding this modifier, it appears that Apple neglected to provide a way to react to the preview view being tapped. I'm hoping I'm just overlooking it. Is anyone aware of a way to handle the context menu's preview view being tapped?
Posted
by tundaware.
Last updated
.
Post not yet marked as solved
0 Replies
684 Views
I have a macOS app that synchronizes some files in the app's iCloud container, outside the Documents folder. Changes to these files are monitored with a NSMetadataQuery using a search scope of NSMetadataQueryUbiquitousDataScope. The NSMetadataQuery instance uses an operation queue for notifications and I'm calling startQuery on the instance's operation queue. As of macOS 12.3, for a subset of my users, the NSMetadataQueryDidFinishGatheringNotification notification is never sent after starting the query. The NSMetadataQueryDidStartGatheringNotification and NSMetadataQueryGatheringProgressNotification notifications are posted. For those affected who have multiple Macs, each of their Macs seems to be affected by this, as if it is a problem specific to the iCloud container for my app, for that user. I'm unable to reproduce the issue on my personal machine. Has anyone else noticed this behavior since macOS 12.3 was released?
Posted
by tundaware.
Last updated
.
Post not yet marked as solved
0 Replies
753 Views
In iOS 14, not sure about iOS 13, Apple's Music app has a 'more' button on the player view above the scrubber. Tapping it appears to present a UIActivityViewController. This UIActivityVC appears to use a configuration that excludes the UIActivityCategory.share category, so we only see actions. One of those actions is labeled "Share". Tapping it appears to reconfigure the UIActivityVC so that it no longer excludes the UIActivityCategory.share category and also hides the "Share" action. The change happens with a smooth animation and does not appear to be the result of dismissing the current UIActivityVC and presenting a new, reconfigured one. I'm not seeing a way to replicate this. I don't believe I've ever seen this in a 3rd party app, but Apple uses it at least in the Music and Podcasts app. So, perhaps it's just Apple using private APIs. Is this a documented behavior of UIActivityViewController?
Posted
by tundaware.
Last updated
.