带ReplayKit Xamarin的广播扩展iOS不工作

z31licg0  于 2022-12-07  发布在  iOS
关注(0)|答案(1)|浏览(140)

我尝试向Xamarin iOS应用程序添加广播扩展,但当我想从应用程序或控制中心启动广播时,该扩展不可见。
我在项目中添加了BroadcastUploadExtension作为BroadcastUpload UI扩展,它们是来自主iOS项目的引用。
我还为它们创建了配置文件。我使用带有PreferredExtension的RPSystemBroadcastPickerView,但我只得到了“开始录制”,而不是我的应用程序名称/图标与开始流。所有这些都在最新版本的SDK和iOS上。

xzlaal3s

xzlaal3s1#

The BroadcastUIExtension project will be created automatically when you create a BroadcastUploadExtension project in VS, you can open the info.plist in both projects and double-check the NSExtension key.
The value of the NSExtensionPointIdentifier for BroadcastUploadExtension project is written as com.apple.broadcast-services by default and should be com.apple.broadcast-services-upload
The value of the NSExtensionPointIdentifier for BroadcastUIExtension project is written as com.apple.broadcast-services by default and should be com.apple.broadcast-services-setupui
The app will appear in the control center if the NSExtensionPointIdentifier is correct.
Reference

相关问题