'How to display error word at progressed Broadcast Upload Extension(iOS, replaykit)
Solution 1:[1]
Use finishBroadcastWithError, NSError must be use 'NSLocalizedFailureReasonErrorKey' to describe.
Solution 2:[2]
you can handle this issue by this protocol
finishBroadcastWithError()
in RPBroadcast handler
for more refer apple Doc
example:
let userInfo = [NSLocalizedFailureReasonErrorKey: "You have Stopped Screen Sharing"]
finishBroadcastWithError(NSError(domain: "ScreenShare", code: -1, userInfo: userInfo))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ??? |
| Solution 2 | Muthu samy |

