我可以在 Windows 上成功进行 iPhone/iPad 网站开发/测试吗?

发布于 2024-09-16 14:45:52 字数 206 浏览 3 评论 0原文

我可以在 Windows 上成功进行 iPhone/iPad 网络开发(非本机应用程序),并且无需使用 iPhone/iPad 设备吗?

即像 PSD 到 iPhone 优化的 XHTML/CSS 布局一样工作。

我有兴趣了解并制作针对 iPhone/iPad 优化的网站。有什么建议吗?与桌面版有何不同?除了屏幕变小还有什么不同?

Can I successfully do iPhone/iPad web development (not native apps) on Windows, and without having an iPhone/iPad device?

I.e. work like PSD-to-iPhone-optimized XHTML/CSS layout.

I’m interested to learn about and make iPhone/iPad optimized websites. Any tips? How different will it be from desktop? What’s different other than the smaller screen?

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

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

发布评论

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

评论(5

缱倦旧时光 2024-09-23 14:45:52

根据经验,我会说测试 iPad 的唯一正确方法是在 iPad 上进行测试。我一直在专门为 iPad 开发一个 html5 网站,我们最初使用 iPhone 进行测试。我们用 jQuery 实现的拖动功能在 iPhone 上几乎可以完美运行,但客户在 iPad 上测试后,他们回来告诉我们该功能不起作用,但他们是正确的。

我想这可能会根据您正在进行的开发类型而改变。根据经验,我会说 A. 去苹果商店逛逛 B. 与 iPad 用户交朋友 C. 购买 iPad

From experience I will say the only true way to test for the iPad is to test on an iPad. I have been developing a site in html5 specifically for an iPad and we initially used the iPhone to test. The drag function we had implemented with jQuery had worked almost perfectly on the iPhone but after the client had tested on the iPad they came back to us and said the function did not work period and they were correct.

I guess this could change depending on what type of development you are doing. From experience I would say either A. Make some trips to the apple store B. Make friends with iPad owner C. Buy and iPad

你在看孤独的风景 2024-09-23 14:45:52

是的,对于 ipohne 模拟器...尝试 MobiOne。
这是一个很好的应用程序,可以在类似 iPhone 的环境中测试页面。

http://www.genuitec.com/mobile/

yes for an ipohne emulator... try MobiOne.
It's a good application to test the pages in iphone like environment.

http://www.genuitec.com/mobile/

蒗幽 2024-09-23 14:45:52

我认为在没有 iPhone/iPad 的情况下,无论是在 Windows、Mac 还是 Commodore 64 上,您都无法真正成功地进行 iPhone/iPad 开发。

如果您认真对待 iPhone/iPad 开发,您怎么能不尝试一下您的软件呢?你自己在它将要运行的设备上吗?您的客户将需要可在 iPhone/iPad 上运行的代码。您需要 iPhone/iPad 来检查其是否正常工作。

I don’t think you can really do iPhone/iPad development successfully without an iPhone/iPad at all, whether on Windows, Mac or Commodore 64.

If you’re serious about iPhone/iPad development, how could you not try your software out yourself on the devices it’s going to run on? Your clients are going to want code that works on the iPhone/iPad. You need an iPhone/iPad to check that it works.

Hello爱情风 2024-09-23 14:45:52

如果你开发一个网络应用程序,那么我认为你可以使用这个: http://ipadpeek.com/

if your developing a web app then i think you can use this: http://ipadpeek.com/

天涯离梦残月幽梦 2024-09-23 14:45:52

答案是:是的,您绝对可以在 Windows PC 上进行 iPhone 和 iPad 网站开发。

但是,您确实应该/必须在实际的 iPhone/iPod Touch/iPad 上测试结果。特别是当您以任何方式与特殊设备功能(例如电话的拨号功能)集成时。 (是的,您可以在网页中包含电话号码,当您点击它们时会触发拨号。)

但是,您可以在 Windows 上进行大部分开发,在 Safari 或 Chrome 中测试 WebApp,它们是最完全兼容的基于 HTML5 WebKit 的浏览器在那里。
还强烈建议使用 HTML5 触摸框架,例如 jQuery Mobile 或 Sencha Touch。这对于确保您的 WebApp 针对移动设备的屏幕尺寸和触摸手势进行优化大有帮助。

请记住,您无法将纯 WebApp 部署到应用程序商店,只能从网站下载。为此,您需要像 PhoneGap 这样的本机包装器。要编译 PhoneGap 包装的 WebApp,您需要 Mac 上的 XCode。

但是在 iOS 上将 WebApp 添加到主屏幕有很多功能。不涉及本机代码,您将获得一个带有主屏幕图标、加载图像且没有浏览器工具栏的全屏 Web 应用程序。强烈推荐。

The answer is: Yes you can absolutely do iPhone and iPad website development on a Windows PC.

However, you really should/must test the result on an actual iPhone/iPod Touch/iPad. Especially if you are integrating in any way with special device features like the dialing feature of the phone. (Yes you can have phone numbers in a webpage trigger dialing when you tap on them.)

However, you can do the bulk of the development on Windows, testing the WebApp in Safari or Chrome, which are the most fully compliant HTML5 WebKit based browsers out there.
Also highly recommend using an HTML5 touch framework like jQuery Mobile or Sencha Touch. This will go a long way to ensuring that your WebApp is optimized for the screen size and touch gestures of the mobile devices.

Remember that you can't deploy a pure WebApp to the app store, only download it from a website. You'll need a native wrapper like PhoneGap for that. And to compile a PhoneGap wrapped WebApp you'll need XCode on a Mac.

But there's a lot of power in adding your WebApp to the home screen on iOS. No native code involved and you get a full screen webapp with a home screen icon, loading image and no browser toolbars. Highly recommended.

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