# Screen Sharing button not working

**URL:** <https://devforum.zoom.us/t/screen-sharing-button-not-working/18174>\
**Category:** iOS\
**Created:** [May 18, 2020, 4:36pm UTC](https://devforum.zoom.us/t/screen-sharing-button-not-working/18174 "2020-05-18T16:36:53Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 23, 2020, 4:38am UTC](https://devforum.zoom.us/t/screen-sharing-button-not-working/18174/8 "2020-05-23T04:38:47Z")

</div>

Hi @rob.gomez.mu,

If you are using the broadcast extension to do screen sharing, you do not need the `startAppShare` and the `stopAppShare`. You could simply implement the broadcast picker in the onClickShareScreen method like the following:

```auto
- (void)onClickShareScreen:(UIViewController *)parentVC
{
     if (@available(iOS 12.0, *)) {
         RPSystemBroadcastPickerView *broadcastView = [[RPSystemBroadcastPickerView alloc] init];
            broadcastView.preferredExtension = @"Extension bundle ID";
            broadcastView.tag = "NSInteger here";
            
            [self.mainVC.view addSubview:broadcastView];
         
         broadcastView = [self.mainVC.view viewWithTag:"NSInteger here"];
         if (!broadcastView) return;

         for (UIView *subView in broadcastView.subviews) {
             if ([subView isKindOfClass:[UIButton class]])
             {
                 UIButton *broadcastBtn = (UIButton *)subView;
                 [broadcastBtn sendActionsForControlEvents:UIControlEventAllTouchEvents];
                 break;
             }
         }
     }
}

```

Then you could trigger the picker by pressing the share button.

Hope this helps. Thanks!

---

_[View the full topic](https://devforum.zoom.us/t/screen-sharing-button-not-working/18174)._
