Code Block UIWindowScene *scene = self.view.window.windowScene; if (!scene) { return; } SKOverlayAppClipConfiguration *configuration = [[SKOverlayAppClipConfiguration alloc] initWithPosition:SKOverlayPositionBottom]; SKOverlay *overlay = [[SKOverlay alloc] initWithConfiguration:configuration]; [overlay presentInScene:scene];
it doesn't work, and console show:
2020-07-11 08:31:47.707243+0800 Clip[960:284396] Unable to setup extension context - error: Couldn’t communicate with a helper application.
2020-07-11 08:31:47.707704+0800 Clip[960:284191] Unable to instantiate remote view controller with error: Couldn’t communicate with a helper application.
2020-07-11 08:31:47.707895+0800 Clip[960:284191] An error occurred while loading the view service: Couldn’t communicate with a helper application.
2020-07-11 08:31:47.708123+0800 Clip[960:284191] Sending failed events to all overlays because of error: The operation couldn’t be completed. (SKErrorDomain error 0.)
2020-07-11 08:31:47.708307+0800 Clip[960:284191] [ASORemoteOverlay] Store overlay did fail to load with error: Error Domain=SKErrorDomain Code=0 "(null)"