开发者

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

开发者 https://www.devze.com 2023-04-12 21:58 出处:网络
I develop radio streaming iphone app. I submitted it to app store, but rejected. Because my app could not access streaming server.

I develop radio streaming iphone app.

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)

After searching through internet, I found that I missed two plist propertys.

That are "Application uses WiFi" and "Required device capabilities".

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?

Is this right?

Additionally How to send & receive network data via cellular networK?

Just nothing to do? Or Anything to change(like WiFi)?

Please help me.

Thanks in adv开发者_如何学JAVAance.


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. "Application uses WiFi", "Required device capabilities".

I recommend that your Iphone have reachability. 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!

0

精彩评论

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

关注公众号