millenomi / swapkit

SwapKit facilitates IPC between iPhone applications on iPhone OS 3 and later.
http://infinite-labs.net/swapkit
Other
76 stars 3 forks source link

Figure out request sender app #28

Open brutella opened 13 years ago

brutella commented 13 years ago

Is there a way to find out from which application the request is coming?

millenomi commented 13 years ago

Only some of the time. The API up to iOS 4.1 does not provide for a way to know who asked you to open a URL if the app was in the background (handleOpenURL:). SwapKit does not expose this feature, since it can't know some of the time.

brutella commented 13 years ago

so there is no way to switch back to an application after an url was handled from another application?

millenomi commented 13 years ago

You may pass a return URL as an argument in a custom request, but there's no high-level API to do this in SwapKit at the moment.