[Resolved]setDesignResolutionSize not work in ipad


#1

Hi,

I’m trying to do one web game that use setDesignResolutionSize in the same mode that explain

and other example in the wiki site, but then i use the function nothing appears in the safari or chrome ipad browsers, only in desktop, then i comment the line the code works nice.

Can be one issue of cocos2d that mobile browsers not work this way? Somebody had this problem?

Regards


#2

Hi Siq,

I have tested our sample game “MoonWarriors” on Android smart phone, it works well.
Its resolution type is “SHOW_ALL”.

Regards


#3

Dingping Lv wrote:

Hi Siq,
>
I have tested our sample game “MoonWarriors” on Android smart phone, it works well.
Its resolution type is “SHOW_ALL”.
>
Regards

i have this issue, too.

my devices is iphone 4s, ios5, safari.

ios6 works fine.


#4

huang jinwei wrote:

Dingping Lv wrote:
> Hi Siq,
>
> I have tested our sample game “MoonWarriors” on Android smart phone, it works well.
> Its resolution type is “SHOW_ALL”.
>
> Regards
>
i have this issue, too.
>
my devices is iphone 4s, ios5, safari.
>
ios6 works fine.

Hi,

I get the same results, i have ios6 in iphone that works, and in my ipad with ios5 not, i believe that maybe one feature of safari in ios5 is not compatible. The better way is update the system.

Sorry


#5

OK, we’ll test it on ios5, safari.

Thanks for your feedback.


#6

Dingping Lv wrote:

OK, we’ll test it on ios5, safari.
>
Thanks for your feedback.

the faild ios version is ios5.0.1,iphone4.

i test it on my new ipad, ios 5.1.1, it works fine


#7

hi,
I had fixed a bug about iphone safari:

I am not sure that the issue whether is the same your issue.
Can you help me check it by v2.1.6 version engine.


#8

Xingsen Ma wrote:

hi,
I had fixed a bug about iphone safari:
https://github.com/cocos2d/cocos2d-html5/pull/1099
>
I am not sure that the issue whether is the same your issue.
Can you help me check it by v2.1.6 version engine.

thanks for the quick response!
it can runs in ios 5.0.1 iphone 4 now!


#9

thanks, now is running, yet try finish my app

Thanks again
ios 5.1.1 in ipad 2


#10

Thanks for your feedback.