ReplayKit's RPSystemBroadcastPickerView not showing preferredExtension

后端 未结 5 1220
名媛妹妹
名媛妹妹 2021-02-07 08:15

I am using RPSystemBroadcastPickerView to show a picker view, from which a user can select a broadcast service to record the screen. Based on documentation, p

5条回答
  •  时光说笑
    2021-02-07 09:09

    You add Broadcast Upload Extension into your project and get that Extension Bundle Identifier.

    How to create Broadcast Upload Extension into your app?

    Go to xcode - File - New - Target - Broadcast Upload Extension

    Then Add this line into your app. when you created RPSystemBroadcastPickerView object.

    broadCastPicker?.preferredExtension = "com.vikrant.YourApp.Extension"

提交回复
热议问题