API-Examples icon indicating copy to clipboard operation
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 ??

Open Manoojkumar opened this issue 4 years ago • 2 comments

Manoojkumar avatar Feb 26 '21 18:02 Manoojkumar

@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.

plutoless avatar Feb 27 '21 04:02 plutoless

    #pragma clang diagnostic push
    #pragma clang diagnostic ignored "-Wnonnull"
    [self finishBroadcastWithError:nil];
    #pragma clang diagnostic pop

natwales avatar Jun 24 '21 02:06 natwales