已知的“Safari on iPad”列表“Desktop Safari”的差异 [英] List of known "Safari on iPad" differences over "Desktop Safari"

查看:164
本文介绍了已知的“Safari on iPad”列表“Desktop Safari”的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近在Windows / Mac桌面浏览器上测试Web应用程序 - 然后在iPad上我注意到我在Safari中的各种差异,这是我没想到的。即使版本#是相同的。

In recently testing a web application on Windows/Mac desktop browsers - and then on an iPad I noticed various differences in Safari that I wasn't expecting. even though the version # is the same.

我想编写一份这些差异的列表(对于我自己和其他人)作为开发人员参考。

I'd like to compose a list of those differences (for myself and others) to have as a developer reference.

例如在iPad上的Safari中


  • iPad Safari完全控制选择列表/选项样式

  • 当输入元素获得焦点时,iPad会打开屏幕键盘,因此内联浮动日历小部件(等)可能无法按预期工作(或需要更改)

  • iPad Safari不支持位置:固定,如桌面Safari< iOS 5

  • iPad Safari(类似于iPhone / iPodTouch Safari)自动超链接10位数字以提供手机号码/联系方式

  • iPad Safari prompt('long message ...','default'); 只显示消息的1行(尽管它确实提供了消息的滚动

  • iPad Safari takes full control of Select list/option styling
  • iPad opens the onscreen keyboard when an input element receives focus, thus inline floating calendar widgets (and the like) may not work as expected (or need to be altered)
  • iPad Safari doesn't support position:fixed like desktop Safari < iOS 5
  • iPad Safari (similar to iPhone/iPodTouch Safari) automatically hyperlinks 10 digit numbers to offer phone #/contact options
  • iPad Safari prompt('long message...','default'); shows only 1 line of the message (though it does provide scrolling of the message

我从其他人那里听说某些JavaScript无效等等,但我还没有完全测试它因此我会感激任何发现你可能遇到过。

I've heard from others that certain JavaScript doesn't work, etc. etc. but I have yet to fully test it thus I'd be grateful for any discoveries that you may have encountered.

推荐答案

还有一些给你:


  1. 没有Flash

  2. Lousy iFrame支持(因此facebook等需要iPad的自定义实现)

  3. 怪异缓存限制

  4. HTML textAreas没有滚动条(你必须用双指滑动 - 这当然非常直观)

  1. No Flash
  2. Lousy iFrame support (so facebook like etc. needs a custom implementation for iPad)
  3. Weird caching limitations
  4. HTML textAreas doesn't get a scroll bar (you have to double-finger swipe - which of course, is amazingly intuitive)

总的来说。把它当作一个放大的iPhone而不是缩小的Deskt op。

In general. Treat it like a scaled up iPhone, not a scaled down Desktop.

这篇关于已知的“Safari on iPad”列表“Desktop Safari”的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆