I type alert(windows.screen.width) in mobile safari of the iPhone 6 plus simulator and the real device, and the simulator says it is 414 but the real device says 375,so why they are different?
Asked
Active
Viewed 167 times
2
-
Is it because one is an iPhone 6 and the other is an iPhone 6 Plus? See this question: http://stackoverflow.com/questions/25754848/what-are-the-device-width-css-viewport-sizes-of-the-iphone6-and-iphone-6-plus – Daniel Bank Dec 29 '14 at 06:35
-
@DanielBank Thanks for your reply.But nope, both of them are iPhone 6 plus. – happylyang Dec 29 '14 at 06:47
-
hi @happylyang have you found the answer ?:) – iamdavidlam Apr 13 '15 at 08:59
-
@iamdavidlam Sadly,no. – happylyang Apr 14 '15 at 11:33