iPhone 和 iPad 应用程序兼容性

发布于 2024-11-15 15:53:32 字数 75 浏览 5 评论 0原文

我应该怎样做一个现有的基于 ASP.NET 的网站才能在 iphone 和 ipad 环境下运行而没有问题?

提前致谢。

What should I do an existing asp.net based web site for running under iphone and ipad environment without problem ?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷了相思 2024-11-22 15:53:32

好问题(+1 票)!这方面有很多资源,但从经验来看,我要满足的主要内容是:

  • 确保没有重要的闪存对象
    在页面上,因为它不受支持
    许多移动浏览器(还?)
  • 适当的屏幕尺寸(使用
    视口元标记)
  • 请记住没有鼠标
    光标,意思是没有
    悬停/双击可用
    鼠标拖动手势不同
    在触摸设备上
  • 请记住所有弹出窗口均以新格式打开
    选项卡,并且不会同时看到
    time 作为主窗口,使用
    javascript modal divs 作为替代
  • 测试你所有的 javascript 和 css
    确保一切看起来和工作正常
    相同(Safari 需要 -webkit- 前缀
    对于最新的 CSS 属性)
  • 为您的主屏幕创建一个图标
    网站(这是一件好事)

大部分内容都涵盖了 这里

看看Safari开发中心的教程/视频/编码方式到等

good question (+1 voted)! there are lots of resources on this but talking from experience the main things I'd cater for are:

  • ensure there's no vital flash objects
    on the page as it isn't supported by
    many mobile browsers (yet?)
  • appropriate screen size (using
    viewport meta tag)
  • keeping in mind that there's no mouse
    cursors, meaning no
    hover/double-clicks are available any
    mouse dragging gestures are different
    on touch devices
  • remember all pop-ups are open in new
    tabs and won't be seen at the same
    time as the main window, use
    javascript modal divs as alternative
  • test all your javascript and css to
    ensure everything looks and works the
    same (Safari requires -webkit- prefix
    for the newest CSS properties)
  • create a Home screen icon for your
    website (a nice thing to have)

most of these things are covered here

take a look at Safari Dev Center for tutorials/videos/coding how to's etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文