简体   繁体   English

如何在我的iPhone应用程序上使用蜂窝/ WiFi网络?

[英]How to use cellular/wifi network on my iphone application?

I develop radio streaming iphone app. 我开发了广播流媒体iPhone应用程序。
I submitted it to app store, but rejected. 我将其提交到应用商店,但被拒绝了。
Because my app could not access streaming server. 因为我的应用无法访问流服务器。
(at this moment, I wonder why did my app plays on my iphone when I tested it) (此刻,我想知道为什么我在测试时我的应用程序为何能在iphone上播放)
After searching through internet, I found that I missed two plist propertys. 通过互联网搜索后,我发现我错过了两个plist属性。
That are "Application uses WiFi" and "Required device capabilities". 即“应用程序使用WiFi”和“必需的设备功能”。

So, could I conclude that If I want to play the radio streaming via streaming server, then I must explicitely notify my app's plist to use WiFi? 因此,我是否可以得出结论, 如果我想通过流服务器播放广播流,那么我必须明确通知我的应用的plist使用WiFi?

Is this right? 这是正确的吗?

Additionally How to send & receive network data via cellular networK? 另外,如何通过蜂窝网络发送和接收网络数据?
Just nothing to do? 没事做吗? Or Anything to change(like WiFi)? 还是有什么需要改变的(例如WiFi)?

Please help me. 请帮我。
Thanks in advance. 提前致谢。

First, You should test whether your libraries are correctly linked to your app. 首先,您应该测试您的库是否正确链接到您的应用程序。
And If you use wifi on your Iphone, then you should explicitely add your app's functionality(the use of wifi) in your plist. 而且,如果您在Iphone上使用wifi,则应在plist中明确添加应用程序的功能(使用wifi)。 "Application uses WiFi", "Required device capabilities". “应用程序使用WiFi”,“必需的设备功能”。

I recommend that your Iphone have reachability. 我建议您的Iphone具有可达性。 If user use your app on celluar network, your app should acknowledge user to your app is using cellular network. 如果用户在蜂窝网络上使用您的应用程序,则您的应用程序应确认用户正在使用蜂窝网络。 The app store guide user to use reachabilty. 应用商店指导用户使用可达性。
So I recommend it! 所以我推荐!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iPhone,NSData,wifi与蜂窝网络 - iPhone, NSData, wifi vs. cellular network 即使iPhone上已连接WIFI,我也只能使用蜂窝网络(3G或EDGE)吗? - Can I use only cellular network (3G or EDGE), even if WIFI is connected on the iPhone? 有什么可能的方式将我的iPhone在wifi网络中使用作为触发条件? - Any possible ways to use my iPhone presence in wifi network as a trigger? 如何从我的应用程序中获取使用的其他应用程序的数据使用情况(蜂窝或wifi)明细 - how to get data usage(cellular or wifi)breakdown of other applications used, from my application 如何制作仅适用于特定wifi网络的iPhone应用程序 - how to make an iphone application which works only in a specific wifi network 如何访问iPhone应用程序中wifi网络中存在的任何打印机? - How to access any printer present in wifi network in an iPhone application? 如果用户连接了我在iPhone中打开的wifi网络,如何发送通知 - how to send notification if the user is connected my open wifi network in iPhone 在我的iPhone应用程序中使用wifi - Work with wifi in my iphone application 如何从XCode,iPhone检索蜂窝网络信息? - How to retrive cellular network information from XCode, iPhone? 如何获取iPad / iPhone蜂窝网络数据>已发送/已接收的使用情况,以便我的应用不会杀死用户数据计划 - How to get iPad/iPhone Cellular Network Data >Sent/Received Usage so my app doesn't kill users Data Plan
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM