如何以编程方式在iPhone上启动3G连接? [英] How to programmatically start 3g connection on iphone?

查看:65
本文介绍了如何以编程方式在iPhone上启动3G连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何以编程方式在iPhone上启动3g连接?

how to programmatically start 3g connection on iphone?

我需要使用套接字API吗?

do I need to use socket api?

推荐答案

您不需要.您只需从Internet访问所需的任何资源,电话便会以合适的方式处理连接.如果您想知道是否存在连接,以及是否使用了哪种连接,则可以使用API​​和 iPhone网络访问:最佳做法.

You don't need to. You just access whatever resource you need from the Internet, and the phone will handle connecting in a suitable manner. If you want to know whether there is a connection at all, and if so what kind is being used, there is an API and a sample from Apple. Also see Apples iPhone Network Access: Best Practices.

这篇关于如何以编程方式在iPhone上启动3G连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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