Open activity without showing UIActivityViewController

前端 未结 3 1033
攒了一身酷
攒了一身酷 2021-02-05 20:35

I want to be able to have social icons in a scrollView, which when clicked, functions the same way it would if I had clicked on them after presenting a UIActivityViewController.

3条回答
  •  清歌不尽
    2021-02-05 21:10

    Short: That’s not possible.

    Every App runs inside their own "playground" and the Apps get entire focus of the device.

    I assume that the User recreated the Interface of those Apps and got the Information out of an API. For example, we get the Content, from an Whatsapp API and recreate the UI, to make it feel like we're inside Whatsapp. But you should not do that, since you might get in conflict with copyright infringements.

    But in general Apps don’t know about each other.

    And the only possibility to run a 3rd party App, as you already know, is the URL Scheme. If you would want to run an App inside your App like in a UIWebView, you would need to emulate a whole iOS. So impossible.

    However, it might be possible with jailbroken iPhones, but I have no idea about that.

提交回复
热议问题