# Screen share target extension not shown

**URL:** <https://devforum.zoom.us/t/screen-share-target-extension-not-shown/42924>\
**Category:** iOS\
**Created:** [February 9, 2021, 3:24pm UTC](https://devforum.zoom.us/t/screen-share-target-extension-not-shown/42924 "2021-02-09T15:24:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![durga.chotu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/durga.chotu/32/17004_2.png) [@durga.chotu](https://devforum.zoom.us/u/durga.chotu)\
**Post date:** [February 9, 2021, 3:24pm UTC](https://devforum.zoom.us/t/screen-share-target-extension-not-shown/42924/1 "2021-02-09T15:24:25Z")

</div>

**Description**  
I have integrated screen sharing functionality in our application with standard zoom UI.  
On Tapping the **Screen** option in the action sheet I don’t see the app extension for broadcasting the screen.  
How can I start screen share from the app itself?  
If you observe the picker it says “start recording” not “start broadcasting”

Attached the screen for reference.

 ![IMG_7153.PNG](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/4/f43826104e4885ce259caaff0af03f3d3f6bd4f7.jpeg)

But from the control center, I see the extension and was able to share the screen successfully. Attached the image.

 ![IMG_7155.PNG](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/5/f502e6a43b6a3eb5f29b9c1d1fd1f9d7baab5046.jpeg)

I’m using the following code in onClickShareScreen method:

> func onClickShareScreen(\_ parentVC: UIViewController) {  
> print(“onClickShareScreen----------------”)  
> guard let service = MobileRTC.shared().getMeetingService() else { return }
> 
> ```
> if service.isStartingShare() {
> service.stopAppShare()
> } else {
> service.startAppShare()
>         
> if #available(iOS 12.0, *) {
> let broadcastView = RPSystemBroadcastPickerView(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.size.width / 2, height: UIScreen.main.bounds.size.height / 2))
> broadcastView.preferredExtension = "group.com.dayamed.va"
> let buttonPressed = NSSelectorFromString("buttonPressed:")
> if broadcastView.responds(to: buttonPressed) {
> //broadcastView.perform(buttonPressed, with: nil)
> for subview in broadcastView.subviews {
> print("broadcastView.subviews", broadcastView.subviews)
> if let button = subview as? UIButton {
> button.sendActions(for: UIControl.Event.allTouchEvents)
> }
> }
> }
> } else {
> // Fallback on earlier versions
> }
> }
> }
> 
> ```

Please let me know if I am missing anything here.

**Which version?**  
v5.2.42037.1112

**Smartphone (please complete the following information):**

- Device: iPhone Xr and iPhone 7
- OS: iOS 13 and 14

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [February 9, 2021, 9:08pm UTC](https://devforum.zoom.us/t/screen-share-target-extension-not-shown/42924/2 "2021-02-09T21:08:48Z")

</div>

Hey @durga.chotu,

Thanks for using the dev forum!

I believe I see the issue.  
Can you try changing the line:  
`broadcastView.preferredExtension = "group.com.dayamed.va"`  
to  
`broadcastView.preferredExtension = "TheBundleIDOfYourBroadcastExtensionTarget"`

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![durga.chotu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/durga.chotu/32/17004_2.png) [@durga.chotu](https://devforum.zoom.us/u/durga.chotu)\
**Post date:** [February 10, 2021, 9:22am UTC](https://devforum.zoom.us/t/screen-share-target-extension-not-shown/42924/3 "2021-02-10T09:22:05Z")

</div>

Hi @Michael_Condon,

It worked thanks a lot.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [February 10, 2021, 7:35pm UTC](https://devforum.zoom.us/t/screen-share-target-extension-not-shown/42924/4 "2021-02-10T19:35:43Z")

</div>

Hey @durga.chotu,

Awesome! I am happy to hear. Please let us know if you have any other questions.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![zoomjwt](https://avatars.discourse-cdn.com/v4/letter/z/ecae2f/32.png) [@zoomjwt](https://devforum.zoom.us/u/zoomjwt)\
**Post date:** [June 25, 2022, 5:59am UTC](https://devforum.zoom.us/t/screen-share-target-extension-not-shown/42924/5 "2022-06-25T05:59:28Z")

</div>

Hii ,

```
    I did all setup for screen share. Added extension but not able to see in control center and in my app . Can u help me to solve this issue...

```
