TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Can an Iphone app just link to a website?

4 点作者 perucoder超过 13 年前
I've created an HTML5 website which when viewed on the Iphone, is able to mimic the look and feel of a native app. Is there anyway to create an Iphone app that can be submitted to the app store, where the only functionality is that it launches the site?<p>Basically, I need the end user to not be able to tell that they are working with a website instead of a native app.

5 条评论

dholowiski超过 13 年前
I am no longer an Apple developer, but I think I remember that it was against the rules to have an app that did nothing but display a web page. You run the risk of having your app rejected, although many seem to be getting away with this.
byoung2超过 13 年前
Yes. Download any of the ClearChannel apps besides Iheartradio (Coast to Coast AM, AT40, etc). These use an embedded safari view to display some content, and Rss to feed other pages in a native environment. See if you can tell the difference.<p>EDIT: just to clarify, the pages in the app served using the Safari view are served from our web servers.
评论 #3107479 未加载
tbgvi超过 13 年前
Check out PhoneGap and their new service PhoneGap Build, it might be what you're looking for:<p><a href="http://build.phonegap.com" rel="nofollow">http://build.phonegap.com</a>
评论 #3107464 未加载
Zev超过 13 年前
You could probably do this with one line of code (and the rest in Interface Builder), if you really wanted.
profitbaron超过 13 年前
I'd recommend either using PhoneGap or just implementing something like - <a href="http://www.luscarpa.com/development/make-your-website-an-iphone-web-application/" rel="nofollow">http://www.luscarpa.com/development/make-your-website-an-iph...</a>