Skip to content

MediaPlayer tvOS xcode27.0 b1

Alex Soto edited this page Jun 9, 2026 · 1 revision

#MediaPlayer.framework

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaLibrary.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaLibrary.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaLibrary.h	2026-04-18 20:03:40
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaLibrary.h	2026-05-23 03:25:37
@@ -36,7 +36,13 @@
 
 + (MPMediaLibrary *)defaultMediaLibrary;
 
-// Returns the date at which the media library was last modified.
+/*!
+ * Returns the date at which the media library database was last written to disk.
+ *
+ * @discussion This property reflects database persistence, not library content changes.
+ * On macOS, it requires Music.app to have been opened at least once to initialize the
+ * library; before that, it returns the current date as a fallback.
+ */
 @property (nonatomic, readonly) NSDate *lastModifiedDate;
 
 // MPMediaLibraryDidChangeNotification will be posted when a sync happens.
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h	2026-04-18 22:50:13
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h	2026-05-29 23:55:25
@@ -190,4 +190,8 @@
 /// 3:4 (tall) animated artwork for the current media item.
 MP_EXTERN NSString * const MPNowPlayingInfoProperty3x4AnimatedArtwork MP_API(ios(19.0), tvos(19.0), macos(16.0), watchos(12.0), visionos(3.0)); // MPMediaItemAnimatedArtwork
 
+// An array of MPAppEntityIdentifier containing the current now playing app entity identifiers for the application.
+MP_EXTERN NSString * const MPNowPlayingInfoPropertyAppEntityIdentifiers MP_API(ios(27.0), macos(27.0), watchos(27.0), tvos(27.0)); // NSArray (MPAppEntityIdentifier)
+
+
 NS_ASSUME_NONNULL_END

Clone this wiki locally