开发者

iOS 4.2.1 and below shows images but iOS 4.3.3 doesn't

I have a weird problem, I have 2 testing devices running the same app and each has different outcome. Both images are loaded directly from a CMS server. The images on the devices are shown below.

iOS 4.2.1

  • loads page well and image displays clearly

iOS 4.3.3

  • loads page well but image displays black

I have no idea why is it like this, I am currently using Xcode 4.0.1. I have开发者_如何转开发 set the target build to iOS 4.0. I do wish to upgrade my Xcode, but I am afraid it will mess with what ever configs I have and I am unable to do my work. Therefore, any advice would be appreciated

*Currently images are not ready yet, I will try to make it work and update this question

iOS 4.2.1

iOS 4.2.1 and below shows images but iOS 4.3.3 doesn't

iOS 4.3.3

iOS 4.2.1 and below shows images but iOS 4.3.3 doesn't


At first glance it sounds like a target issue. Are the images included in the target for iOS 4.3.3?

What kind of page are you loading?

You could install the latest and greatest XCode in a different location, so you won't mess up your current install.

Can I have multiple Xcode versions installed?


Ok I have solved my own problem. It could be 2 factors that are causing this problem.

  1. Xcode 4.0 does not fully support iOS 4.3.3 yet.
  2. The black image is too big to be supported on the 4.3.3. In the build log, I realized the byte size is 80kb more than the other one. Or maybe its the resolution, I do not know. These are just guesses for now. I have attempted to change the black image with a smaller size (both resolution and pixels) and it worked.

For now, that is what I found out about my application.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜