iOS-Orientationchange-Fix icon indicating copy to clipboard operation
iOS-Orientationchange-Fix copied to clipboard

Doesn't work in iOS Simulator 5.1

Open grayghostvisuals opened this issue 13 years ago • 7 comments

The fix doesn't seem to work in the latest Xcode simulator (iOS Simulator 5.1). I tested with the demo page. Anyone else having trouble?

grayghostvisuals avatar Sep 21 '12 16:09 grayghostvisuals

It's not working for me either, and I'm curious why. @scottjehl, any ideas?

mihaipaun avatar Nov 05 '12 10:11 mihaipaun

I've noticed that there are some things that just don't work right in the simulator... There have seen instances where something I've tested via the simulator doesn't work, but it will work when I test it on the real device.

Based on the above, I've always thought it was a limitation of, and/or a bug, of the iOS simulator.

Have either of you actually tested this script on the real device that you're targeting (for comparison's sake)?

mhulse avatar Nov 09 '12 22:11 mhulse

Hi! I just tried in iPad 1 with iOS 5.1.1 and the fix doesn't work either.

In the next days I'll try to get an iPad 2 or 3 with iOS 5.1 or 5.1.1 to test if it only happens with both the simulator and iPad 1 or if it's common to the iOS version, namely 5.1/5.1.1.

Meanwhile, do you have already any thoughts on the problem?

filipealonso avatar Nov 22 '12 15:11 filipealonso

Doesn't work on the iPhone simulator (version 6) for me either. Unfortunately I don't have an iPhone to test on, at the moment.

northk avatar Dec 07 '12 04:12 northk

The fix relies on the device accelerometer which is more than likely not triggered on the simulator because the device is not actually moving. Even on a real device, sometimes the fix won't kick in and sometimes it will depending on how much you've moved the device before turning it.

evanblack avatar Apr 04 '13 20:04 evanblack

@evanblack Ah, that's interesting. Thanks for clarifying. Personally, I've stopped using this script because the latest iOS appears to have fixed the bug, though I can't seem to find any official docs that say this.

mhulse avatar Apr 04 '13 20:04 mhulse

close this issue ?

gprasant avatar Dec 09 '13 12:12 gprasant