开发者

App loads images over wifi, but not 3g

开发者 https://www.devze.com 2023-01-12 05:52 出处:网络
I am having a really weird issue. My app runs great on wifi, all of my images load from the net. If i run the app for the very first time on 3G, images wont load.

I am having a really weird issue. My app runs great on wifi, all of my images load from the net.

If i run the app for the very first time on 3G, images wont load.

If I switch to wifi, then switch back to 3G, im开发者_JAVA技巧ages will load (new images load as well as they change).

I have no idea how to diagnose.


This might be an issue with your service provider (cell-phone tower). On 3g, can you load a website (say, apple.com) and the images show?


Some suggestions

  • Show some image loading code.
  • Do you see anything in the console?
  • Do the images load in MobileSafari when you are connected to 3G?
  • If you use URLConnection to load the images. Do you handle or log errors?

This is hard to debug without more information.

0

精彩评论

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