我可以禁用应用程序上的主页按钮吗? (全屏浏览器信息亭模式)

发布于 2024-10-09 17:18:02 字数 558 浏览 6 评论 0 原文

我必须在旅游展上放置很多 iPad 来展示我们的网站,而且我们不希望人们可以使用这些 iPad 来玩/进入 facebook/等等。为此,我正在搜索一个应用程序,将 iPad 置于信息亭模式以全屏显示我们的网页,但如果用户可以按主页按钮转到跳板,那就太荒谬了......

为此,我开始开发一个全屏浏览器没有地址栏,只显示以编程方式选择的URL,我想在我们的iPad上部署这个应用程序(我们有一个开发者帐户),但我们有同样的问题:如果用户按主页按钮,他可以选择Safari和进入任何网站。

总之,我们需要禁用主页按钮以将用户保持在我们的网站上(我知道如果按住主页按钮+电源按钮,iPad会重新启动,但电源按钮将在支架上物理禁用),我也知道这个应用程序不会得到苹果的批准,但正如我之前所说,这个应用程序只会在公平的展台上。

谢谢。

四年后,我发现 响应

I have to put a lot of iPads on a stantd on a tourist fair to show our web, and we don't want that people can use these iPads to play/enter facebook/etc. Is for this that I was searching an application that put the iPad on kiosk mode to show fullscreen our web, but that's ridiculous if the user can press home button an go to springboard...

Is for this that I start to develop a fullscreen browser without address bar, only show a URL that is selected programatically, and I think to deploy this app on our iPads (we have a developer account), but we have the same problem: if the user press home button, he can select Safari and enter to any website.

In conclusion, we need to disable home button to hold the user on our website (I know that if press and hold home button + power button, iPad reboot, but the power button will be disable physically on the stand), and I also know that this app will not be approved by Apple, but as I said before, this app will be only to the fair stand.

Thanks.

Four years after, I found the response.

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

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

发布评论

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

评论(10

欢你一世 2024-10-16 17:18:02

不,您无法禁用主页按钮。 (为此感谢苹果公司。谁知道有多少人会相信他们的应用程序是如此出色,以至于人们不应该停止使用它。)

为什么你仍然需要禁用主页按钮?为什么不为 iPad 制作一个支架来阻止对主页按钮的访问呢?

No, you cannot disable the home button. (And thank Apple for that. Who knows how many people would believe that their app is so fantastic that people ought not stop using it ever.)

Why do you need to disable the home button anyway? Why not build a stand for the iPad that blocks access to the home button?

梦幻之岛 2024-10-16 17:18:02

您不能使用家长控制来限制/阻止访问 Safari、邮件应用程序等吗?

在 iPad 上,

设置 >一般>限制

然后,您可以轻松地从 ipad 的跳板上删除 Safari 等应用程序,并且要启用访问需要一个代码(您设置的),这样就没有人能够访问您不希望他们访问的默认应用程序:)

当然,人们仍然可以通过按主页按钮退出您的应用程序,尽管他们无法执行任何操作,您甚至可以通过限制设置阻止他们删除应用程序。

防止通过主页按钮退出的唯一方法是用支架盖住它,以物理方式阻止人们按下它。

Could you not use the parental controls to restrict/prevent access to Safari, Mail app's etc?

On iPad,

Settings > General > Restrictions

You can then easily remove app's such as Safari from the ipad's springboard, and to enable access requires a code (which you set) so no one would be able to access default app's that you don't want them to :)

Of course people would still be able to exit your app by pressing the home button, although they would not be able to do anything, and you can even stop them from deleting apps through the restrictions settings.

The only way to prevent exiting via the home button would be to physical stop people from pressing it by having the stand cover it over.

甜味超标? 2024-10-16 17:18:02

有些公司专门为此类产品生产特定产品。这里写了一些(它们并不便宜)...

http://www.tuaw.com/2010/04/26/ibracket-turns-your-ipad-into-an-ikiosk/

史蒂文

There are companies that make specific products for this type of thing. Here is a write up a couple (they are not cheap)...

http://www.tuaw.com/2010/04/26/ibracket-turns-your-ipad-into-an-ikiosk/

Steven

如痴如狂 2024-10-16 17:18:02

对于OP来说可能为时已晚,但对于其他尝试这样做的人来说,请在此处查看我的答案 锁定 iPhone/iPod/iPad,使其只能运行一个应用程序

我一直在尝试执行相同的用例,几乎每个人都在堆栈上溢出表示这是不可能的。事实证明确实如此。

Probably too late for the OP but for anyone else trying to do this then see my answer here Lock-down iPhone/iPod/iPad so it can only run one app

I had been trying to do the same use case and pretty much everyone on stack overflow is saying it's not possible. Turns out that it is.

梦境 2024-10-16 17:18:02

四年多后,我找到了答案,哈哈。

我不确定从什么时候开始,但现在我们可以阻止仅使用“设置”>“中的一个应用程序”。一般>辅助功能>引导访问

之后,我们可以在打开的应用程序中进行三次点击,它将被锁定。

另外,我们可以使用 Apple Configurator 来“锁定到应用程序”,但这种方式需要在 iPad 中安装配置文件(四年前这不是问题......)。

More than 4 years after, I found the answer, haha.

I'm not sure since when, but now we can block to use only one app from Settings > General > Accessibility > Guided Access

After that, we can do triple tap with our app opened, and it will be locked.

Also, we can use Apple Configurator to "Lock to App", but this way required to install a profile in the iPads (it wouldn't be a problem four years ago...).

晨光如昨 2024-10-16 17:18:02

当这些单元在商业上用作促销显示器或在销售点环境中时,需要阻止主页按钮访问。实际上,如果苹果授权销售点应用程序开发人员能够执行此操作,这将是有用的 - 该功能特定于注册的 ipad 设备是没有问题的......而且它还会使 ipad 变得更少的盗窃目标。除了主人之外,它对任何人都没用。目前唯一的答案是将按钮物理地盖在外壳中,从而隐藏苹果在美观的产品设计上的投资。

Blocking home button access is desirable where these units are used commercially as promotional displays or in point of sale environments. It would be useful, actually, if Apple licensed developers of point of sale apps to be able to do this - it would be no problem for this function to be specific to registered ipad units....and it would also make the ipad less of a theft target. it would be useless to anyone but the owner. right now the only answer is to physically cover the button in an enclosure, thus concealing Apple's investment in a beautiful product design.

删除会话 2024-10-16 17:18:02

在软件中可以这样实现:
设置>一般>辅助功能>引导访问

如果您的 iOS 设备具有公共访问权限,请设置 PIN。

进入要锁定的应用程序后,三次单击主页按钮以启用引导访问。启用此功能后,用户将被限制使用您的应用程序(或 webclip),并且如果按下主页按钮,则需要输入 PIN 码才能退出到 iOS 主页。

Achieveable in software like so:
Settings > General > Accessibility > Guided Access

Set a pin if your iOS device has public access.

once in the app you want to lock down, triple click the home button to enable guided access. With this on users will be restricted to your app (or webclip) and required to enter the pin to exit to iOS home if they hit the home button.

愿得七秒忆 2024-10-16 17:18:02

这个问题没有解决方案,也许如果你越狱你的设备,就有一个解决方案,但我不这么认为。

请参阅:暂时锁定或禁用 iPhone 主页按钮

There is no solution for this issue, maybe if you jailbreak your device, there is one, but I don't think so.

Please see: Temporarily Lock or Disable iphone home button

鸢与 2024-10-16 17:18:02

为什么需要阻止按钮?如果这是某种邪恶的阴谋让开发人员只使用设备进行开发,那么主页按钮就很重要:您必须测试当真实用户这样做时会发生什么。

Why do you need to block the button? If it's some kind of evil plot to make developers only use the device for developing, the home button IS important: you must test what happens when the real user do that.

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