[Resolved]setDesignResolutionSize not work in ipad

Hi,

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

http://www.cocos2d-x.org/boards/19/topics/29547?r=30653#message-30653

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

Hi Siq,

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

Regards

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.

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

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

Thanks for your feedback.

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

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.

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!

thanks, now is running, yet try finish my app

Thanks again
ios 5.1.1 in ipad 2

Thanks for your feedback.