Skip to content

ScreenCaptureKit iOS xcode27.0 b2

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

#ScreenCaptureKit.framework

diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCContentSharingPicker.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCContentSharingPicker.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCContentSharingPicker.h	2026-05-22 08:44:53
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCContentSharingPicker.h	2026-06-11 05:53:34
@@ -54,7 +54,7 @@
 @property (nonatomic, assign) BOOL allowsChangingSelectedContent API_AVAILABLE(macos(14.0), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos);
 
 /*!
- @abstract showsMicrophoneControl Indicates whether the system picker view will show microphone control for user. Default is YES.
+ @abstract showsMicrophoneControl Indicates whether the system picker view will show microphone control for user. Default is NO.
  */
 @property (nonatomic, assign) BOOL showsMicrophoneControl API_AVAILABLE(ios(27.0), visionos(27.0)) API_UNAVAILABLE(macos, macCatalyst, tvos);
 
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCError.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCError.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCError.h	2026-05-22 12:45:36
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCError.h	2026-06-11 05:14:48
@@ -12,30 +12,30 @@
 NS_ASSUME_NONNULL_BEGIN
 API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0))
 typedef NS_ERROR_ENUM (SCStreamErrorDomain, SCStreamErrorCode) {
-    SCStreamErrorUserDeclined API_AVAILABLE(macos(12.3)) = -3801,                           // The user chose not to authorize capture
-    SCStreamErrorFailedToStart API_AVAILABLE(macos(12.3)) = -3802,                          // The stream failed to start
-    SCStreamErrorMissingEntitlements API_AVAILABLE(macos(12.3)) = -3803,                    // The stream failed due to missing entitlements
-    SCStreamErrorFailedApplicationConnectionInvalid API_AVAILABLE(macos(12.3)) = -3804,     // Failed during recording application connection invalid
-    SCStreamErrorFailedApplicationConnectionInterrupted API_AVAILABLE(macos(12.3)) = -3805, // Failed during recording appliation connection interrupted
-    SCStreamErrorFailedNoMatchingApplicationContext API_AVAILABLE(macos(12.3)) = -3806,     // Failed during recording context id does not match application
-    SCStreamErrorAttemptToStartStreamState API_AVAILABLE(macos(12.3)) = -3807,              // Failed due to attempting to start a stream thats already in a recording state
-    SCStreamErrorAttemptToStopStreamState API_AVAILABLE(macos(12.3)) = -3808,               // Failed due to attempting to stop a stream thats already in a recording state
-    SCStreamErrorAttemptToUpdateFilterState API_AVAILABLE(macos(12.3)) = -3809,             // Failed due to attempting to update the filter on a stream
-    SCStreamErrorAttemptToConfigState API_AVAILABLE(macos(12.3)) = -3810,                   // Failed due to attempting to update stream config on a stream
-    SCStreamErrorInternalError API_AVAILABLE(macos(12.3)) = -3811,                          // Failed to start due to video/audio capture failure
-    SCStreamErrorInvalidParameter API_AVAILABLE(macos(12.3)) = -3812,                       // Failed due to invalid parameter
-    SCStreamErrorNoWindowList API_AVAILABLE(macos(12.3)) = -3813,                           // Failed due to no window list
-    SCStreamErrorNoDisplayList API_AVAILABLE(macos(12.3)) = -3814,                          // Failed due to no display list
-    SCStreamErrorNoCaptureSource API_AVAILABLE(macos(12.3)) = -3815,                        // Failed due to no display or window list to capture
-    SCStreamErrorRemovingStream API_AVAILABLE(macos(12.3)) = -3816,                         // Failed to remove stream
-    SCStreamErrorUserStopped API_AVAILABLE(macos(12.3)) = -3817,                            // The stream was stopped by the user
-    SCStreamErrorFailedToStartAudioCapture API_AVAILABLE(macos(13.0)) = -3818,              // The stream failed to start audio
-    SCStreamErrorFailedToStopAudioCapture API_AVAILABLE(macos(13.0)) = -3819,               // The stream failed to stop audio
-    SCStreamErrorFailedToStartMicrophoneCapture API_AVAILABLE(macos(15.0)) = -3820,         // The stream failed to start microphone
-    SCStreamErrorSystemStoppedStream API_AVAILABLE(macos(15.0)) = -3821,                    // The stream was stopped by the system
+    SCStreamErrorUserDeclined API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3801, // The user chose not to authorize capture
+    SCStreamErrorFailedToStart API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3802, // The stream failed to start
+    SCStreamErrorMissingEntitlements API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3803, // The stream failed due to missing entitlements
+    SCStreamErrorFailedApplicationConnectionInvalid API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3804, // Failed during recording application connection invalid
+    SCStreamErrorFailedApplicationConnectionInterrupted API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3805, // Failed during recording appliation connection interrupted
+    SCStreamErrorFailedNoMatchingApplicationContext API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3806, // Failed during recording context id does not match application
+    SCStreamErrorAttemptToStartStreamState API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3807, // Failed due to attempting to start a stream thats already in a recording state
+    SCStreamErrorAttemptToStopStreamState API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3808, // Failed due to attempting to stop a stream thats already in a recording state
+    SCStreamErrorAttemptToUpdateFilterState API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3809, // Failed due to attempting to update the filter on a stream
+    SCStreamErrorAttemptToConfigState API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3810, // Failed due to attempting to update stream config on a stream
+    SCStreamErrorInternalError API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3811, // Failed to start due to video/audio capture failure
+    SCStreamErrorInvalidParameter API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3812, // Failed due to invalid parameter
+    SCStreamErrorNoWindowList API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3813, // Failed due to no window list
+    SCStreamErrorNoDisplayList API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3814, // Failed due to no display list
+    SCStreamErrorNoCaptureSource API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3815, // Failed due to no display or window list to capture
+    SCStreamErrorRemovingStream API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3816, // Failed to remove stream
+    SCStreamErrorUserStopped API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3817, // The stream was stopped by the user
+    SCStreamErrorFailedToStartAudioCapture API_AVAILABLE(macos(13.0), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3818, // The stream failed to start audio
+    SCStreamErrorFailedToStopAudioCapture API_AVAILABLE(macos(13.0), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3819, // The stream failed to stop audio
+    SCStreamErrorFailedToStartMicrophoneCapture API_AVAILABLE(macos(15.0), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3820, // The stream failed to start microphone
+    SCStreamErrorSystemStoppedStream API_AVAILABLE(macos(15.0), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)) = -3821, // The stream was stopped by the system
     SCStreamErrorInsufficientStorage API_AVAILABLE(macos(27.0), macCatalyst(27.0), ios(27.0), visionos(27.0), tvos(27.0)) = -3822, // The stream was stopped due to insufficient storage for recording
     SCStreamErrorNotSupported API_AVAILABLE(macos(27.0), macCatalyst(27.0), ios(27.0), visionos(27.0), tvos(27.0)) = -3823,      // The operation is not supported on this platform
-    SCStreamErrorMissingBackgroundMode API_AVAILABLE(macos(27.0), macCatalyst(27.0), ios(27.0), visionos(27.0), tvos(27.0)) = -3824, // The stream was stopped due to missing background mode
+    SCStreamErrorMissingBackgroundMode API_AVAILABLE(ios(27.0), visionos(27.0), tvos(27.0)) = -3824, // The stream was stopped due to missing background mode
 };
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCRecordingEditor.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCRecordingEditor.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCRecordingEditor.h	2026-05-22 12:45:37
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCRecordingEditor.h	2026-06-11 05:49:43
@@ -21,7 +21,7 @@
  @constant SCRecordingEditorModeShare Share/AirDrop screen displayed when editing a recording.
  */
 typedef NS_ENUM(NSInteger, SCRecordingEditorMode) {
-    SCRecordingEditorModePreview,  // Preview/trim editing UI (default)
+    SCRecordingEditorModePreview,  // Preview UI (default)
     SCRecordingEditorModeShare     // Skip to share UI directly
 } NS_SWIFT_NAME(SCRecordingEditor.Mode)
     API_AVAILABLE(tvos(27.0)) API_UNAVAILABLE(ios, visionos, macos, macCatalyst);
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h	2026-05-22 12:45:36
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCShareableContent.h	2026-06-11 04:44:43
@@ -25,7 +25,7 @@
 */
 typedef NS_ENUM(NSInteger, SCShareableContentStyle) {
     SCShareableContentStyleNone,
-    SCShareableContentStyleWindow API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos),
+    SCShareableContentStyleWindow API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0)),
     SCShareableContentStyleDisplay API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0)) API_UNAVAILABLE(tvos),
     SCShareableContentStyleApplication API_AVAILABLE(macos(12.3), macCatalyst(18.2)) API_UNAVAILABLE(ios, visionos, tvos),
 } API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), visionos(27.0), tvos(27.0));
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h	2026-05-28 02:08:30
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h	2026-06-11 05:14:48
@@ -43,7 +43,7 @@
  @constant SCFrameStatusComplete new frame was generated.
  @constant SCFrameStatusIdle new frame was not generated because the display did not change.
  @constant SCFrameStatusBlank new frame was not generated because the display has gone blank.
- @constant SCFrameStatusSuspended new frame was not generated because updates haves been suspended
+ @constant SCFrameStatusSuspended new frame was not generated because updates have been suspended
  @constant SCFrameStatusStarted new frame that is indicated as the first frame sent after the stream has started.
  @constant SCFrameStatusStopped the stream was stopped.
 */
@@ -195,7 +195,7 @@
  @abstract Indicates whether the camera is enabled via the picker.
  @discussion Readonly - camera enable state determined by user via system picker when showsCameraControl is enabled in SCContentSharingPickerConfiguration.
 */
-@property (nonatomic, readonly, getter=isCameraEnabled) BOOL cameraEnabled API_AVAILABLE(macos(27.0), macCatalyst(27.0), ios(27.0)) API_UNAVAILABLE(tvos, visionos);
+@property (nonatomic, readonly, getter=isCameraEnabled) BOOL cameraEnabled API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(macos, macCatalyst, tvos, visionos);
 
 @end
 
@@ -227,12 +227,12 @@
 /*!
  @abstract SCStreamProperty for output width as measured in pixels. On macOS default is set to 1920. In iOS/tvOS platforms, default is the native resolution width of the captured content. On supported embedded platforms, if either width or height is greater than native resolution, resulting frame will be capped at native resolution.
  */
-@property(nonatomic, assign) size_t width API_AVAILABLE(macos(13.0), macCatalyst(18.2), ios(27.0), tvos(27.0)) API_UNAVAILABLE(visionos);
+@property(nonatomic, assign) size_t width API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), tvos(27.0)) API_UNAVAILABLE(visionos);
 
 /*!
  @abstract SCStreamProperty for output height as measured in pixels. on macOS default is set to 1080. In iOS/tvOS platforms, default is the native resolution width of the captured content. On supported embedded platforms, if either width or height is greater than native resolution, resulting frame will be capped at native resolution.
  */
-@property(nonatomic, assign) size_t height API_AVAILABLE(macos(13.0), macCatalyst(18.2), ios(27.0), tvos(27.0)) API_UNAVAILABLE(visionos);
+@property(nonatomic, assign) size_t height API_AVAILABLE(macos(12.3), macCatalyst(18.2), ios(27.0), tvos(27.0)) API_UNAVAILABLE(visionos);
 
 /*!
  @abstract SCStreamProperty that specifies the desired minimum time in seconds between frame updates, allowing you to throttle the rate at which updates are received. The default value is 1/60, meaning that updates are coming in at or up to 60fps. Set this to kCMTimeZero to capture at display's native refresh rate.
@@ -466,6 +466,7 @@
 /*!
  @key SCStreamFrameInfoVideoOrientation
  @abstract The key for the CFDictionary attached to the CMSampleBuffer for the video orientation.
+ @discussion The orientation value follows the CGImagePropertyOrientation enum.
  */
 extern SCStreamFrameInfo const SCStreamFrameInfoVideoOrientation API_AVAILABLE(macos(27.0), macCatalyst(27.0), ios(27.0), visionos(27.0)) API_UNAVAILABLE(tvos);
 

Clone this wiki locally