I can see the Screen button appear under Share Content when the app runs on simulator but as soon as I run the app on device the Screen button doesn’t shows.
Thanks for using Zoom SDK. Are you getting any errors when running on the device? Is the share button the only one that is not working? Is this happening with our demo app? If so, could you provide the steps to reproduce this issue? Could you try to switch to the device-only iOS SDK(The one downloaded from the master branch of Github repo: https://github.com/zoom/zoom-sdk-ios) and see if the share button shows up with the same code?
Also For anyone using Swift and wondering how to trigger RPSystemBroadcastPickerView when you Click Screen Share Here is what you need to do it works 100% tested on Xcode 11.5, Swift 5:
Please note that implementing the onClickShareScreen will only show the “Share” button in the UI and have a corresponding callback when the “Share” button is pressed. In order to perform the screen sharing, you need to trigger the broadcast picker in this callback so that when the “Share” button is pressed, the screen share will starts.
I had also implement it’s call back like following but just showing “Screen” button and when pressing it just open BroadcastPicker then startBroadcasting but nothing to happen after then.
@IOSDev is correct. The app group name must be set, the samplehandler must be implemented, and the app group capabilities must be turned on for your targets.