I have a requirement to allow a universal link to trigger an iOS App B (which I am in control of) from iOS App A (a third-party app which I am not in control of), where App B does some authentication and then returns control to App A with a response code / token. I have seen similar questions about universal links in the forum but they were either unanswered or not looking for the same information on the passing back of control / result codes. Is this possible in an Apple approved way currently? I've seen people approach this by hiding the iOS back link and moving their equivalent of App B to the background, but this does not address the requirement to pass data back to the calling app, and triggering the backgrounding of App B without user interaction to me sounds like it contravenes Apple guidelines in principle. Can anyone advise if the desired behaviour is possible, if they have achieved it using an Apple sanctioned approach, and direct me to some relevant information or a high level view of the approach?
Many thanks.