从手机获取野生动物园历史 [英] Getting safari history from phone
问题描述
我正在创建自定义浏览器应用程序。
除了从浏览器访问的网站,我还想显示从safari浏览器访问过的网站的历史记录。
从我的应用程序中,我可以获取从iphone或ipod或ipad上的safari浏览器访问过的网站的历史记录吗?
I'm creating a custom browser application.
apart from the sites visited from my browser, i'd like to show the history of the sites visited from safari browser as well.
From my application, can I get the history of the web sites visited from safari browser on iphone or ipod or ipad?
推荐答案
只需输入 NO ,就无法访问Safari历史记录。应用程序是沙盒。
Simply put NO, you can't access the Safari History. Apps are sandboxed.
如果这是针对内部应用,那么你可以越狱手机并绕过沙盒 -
If this is for an in-house app, then you could jailbreak the phones and go around the sandboxing like so -
我们可以在 / var / mobile / Media / Safari /中找到
这个我们可以在越狱iPhone中阅读。 history.plist
We can find the history.plist
in /var/mobile/Media/Safari/
and this we can read in jailbreaken iPhone.
更新:
请参阅此SO链接:如何在应用程序中访问iPhone Safari历史记录?
这篇关于从手机获取野生动物园历史的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!