是否允许在iPhone应用程序商店应用程序中包含libCurl?有人这样做吗? [英] Is including libCurl in an iPhone app store app allowed? Anyone done this?

查看:79
本文介绍了是否允许在iPhone应用程序商店应用程序中包含libCurl?有人这样做吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在应用程序中使用libCurl与Web服务进行通信,但是不幸的是,iPhone SDK中并未包含它.现在,我已经找到了如何在我的应用程序中将Curl作为静态库包括在内,但是,我想知道这是否会使我的应用程序被Apple拒绝.有没有人将Curl包含在应用程序中,并得到了Apple的批准?

I would like to use libCurl in an app for communicating with web services, and unfortunately it is not included int he iPhone SDK. Now I've figured out how to include Curl as a static library in my app, however, I'm wondering if this will get my app rejected with Apple. Has anyone included Curl in an app and had it approved by Apple?

谢谢.

猜猜我应该更清楚一些,我想知道是否有人真的这样做过,因为我不确定Curl SDK是否包含未记录的功能.

Guess I should have been more clear, I was wondering if anyone had actually done this, because I am unsure whether the Curl SDK contains undocumented functionality.

推荐答案

我使用NSURLConnection和相关类与应用程序中的Web服务进行通信.我已经读过(但没有第一手经验),使用标准套接字接口的代码可能会出现问题,当电话进入睡眠状态时套接字会消失,并且唤醒后不会回来.完全跳过使用Curl可能会更容易.

I use the NSURLConnection and the related classes to talk to web services in my application. I have read (but have no first hand experience) that code that uses standard sockets interfaces can have problems with the sockets going away when the phone goes to sleep, and not coming back on wakeup. It might be easier to skip using Curl altogether.

这篇关于是否允许在iPhone应用程序商店应用程序中包含libCurl?有人这样做吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆