preferredExtension property
preferredExtension is required for starting Screen Share (Broadcast screen) from iOS Devices.
To know more about how to add preferredExtension follow the guide here.
Note: You can find preferredExtension name in Xcode under Signing and Capabilities section under target > yourExtensionName.
Implementation
String preferredExtension;