iOS 以编程方式删除浏览历史记录
在 iPad (iOS 4.2.1) 上,我需要以编程方式执行以下操作(Objective-C、Cocoa Framework): 清理 Safari 浏览器的历史记录、缓存、书签和 cookie。我找到了一种使用“全局”cookie 执行此操作的方法,但没有找到其他项目。另外,我想清理用户可能已下载的任何新闻阅读器的内容。有没有通用的方法可以做到这一点?我的问题背景是这样的:iPad将被客人在酒店环境中使用。我需要确保他们得到一台干净的 iPad,没有以前用户活动的痕迹和遗留物。
On an iPad (iOS 4.2.1) I need to do the following programmatically (Objective-C, Cocoa Framework): Clean the Safari browser's history, cache, bookmarks and cookies. I have found a method to do this with 'global' cookies but none for the other items. Also I would like to clean up the content of any newsreader that the user may have downloaded. Is there a generic way to do that? The background of my question is this: The iPads will be used in a hotel environment by the guests. I need to make sure they get a clean iPad without the traces and letfovers of the previous users activity.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
下载iPhone 配置实用程序(免费),它允许您为此目的控制很多东西:
http://www.apple.com/support/iphone/enterprise/
它可以让你方便地做一些事情:
据我所知,您甚至可以进行“无线”重置/重新配置。
此外,如果这些设备是 3G+WiFi 型号,您可能需要启用“查找我的 iPhone”。这将使您能够跟踪设备的位置,以防设备被盗。
这是配置实用程序的(德语)屏幕截图。只是为了给你一个想法。
更新:
BoxTone 似乎是 MDM(移动设备管理)的提供商,它允许您远程控制/管理所有设备。这与配置实用程序结合使用。
http://www.boxtone.com/
Download the iPhone Configuration Utility (free), which allows you to control a lot of stuff exactly for this purpose:
http://www.apple.com/support/iphone/enterprise/
It allows you to handy stuff:
AFAIK you can even do a "over-the-air" reset/re-configuration.
Also you might want to enable "Find my iPhone" in case these devices are 3G+WiFi models. This would allow you to track where the devices are in case they are stolen.
Here's a (German) screenshot of the configuration utility. Just to give you an idea.
Update:
BoxTone seems to be a provider for MDM (Mobile Device Management) which allows you to remote-control/manage all your devices. This works in combination with the configuration utility.
http://www.boxtone.com/
每次用户归还设备时,只需从干净的备份中恢复即可。
Just restore from a clean backup every time a user returns the device.