API-Examples
API-Examples copied to clipboard
iOS-Screen Sharing- How to stop screen share when app closed in background without user tapping the redbar to stop ??
@Manoojkumar you can't. like you have no api to start recording but having to use the standard control provided by apple. i believe this is by design as apple want to ensure recording relevant actions is always trigged by user gestures.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnonnull"
[self finishBroadcastWithError:nil];
#pragma clang diagnostic pop