poonam
poonam

Reputation: 49

How to call method of an app from another app in ios?

I want to call a method of an application A from my another application B's code in ios and also want to pass arguments.

Is it possible with socket programming if yes than please give some idea about how to do that.

Thanks.

Upvotes: 0

Views: 919

Answers (2)

thatzprem
thatzprem

Reputation: 4767

Using x-callback-url’s source apps can launch other apps passing data and context information, and also provide parameters instructing the target app to return data and control back to the source app after executing an action.

Please refer to https://x-callback-url.com for tutorials and sample code.

Upvotes: 0

Léo Natan
Léo Natan

Reputation: 57060

The only interprocess communication allowed by Apple on the AppStore is using URL handlers.

For more information, read here.

Upvotes: 1

Related Questions