开发者

How to integrate our apps code in to other app with out sharing the source code in iPhone/iPad?

开发者 https://www.devze.com 2023-04-12 17:47 出处:网络
I have 开发者_StackOverflow中文版developed an iPad pdf reader application,i need to integrate this app with other\'s app with out giving them the source code.I hope packaging my entire application as

I have 开发者_StackOverflow中文版developed an iPad pdf reader application,i need to integrate this app with other's app with out giving them the source code.I hope packaging my entire application as frame work and providing them with API will do the trick(not sure).So can any one please show me a way to create frame works in iOS or help me out if there is a better approach for this issue.Thanks in advance


What you need is a static library. A google search should do the trick, but here's a link to get you started: Creating Static Libraries For iOS


One other way to integrate an app with other apps is using a custom URL scheme. End users install your app normally and other apps can use it.

Let's say you create a scheme named pdfreader for your app. Any other app (of web app) using an URL like pdfreader://file.pdf?a=1&b=2 will launch your app with the passed parameters.

Apps like Aurigma Up use this kind of scheme.

More explanations on how to do it here.

Also look at other shared inter-app communications schemes here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号