如何使用私有框架从iPhone App访问Safari历史记录 [英] How to access Safari history from iPhone App using Private Frameworks
问题描述
我遇到了类似的情况,我可以使用 Apple 的 Private Frameworks ,以便了解在 iPhone Safari 上执行的操作(例如,正在浏览的历史记录和标签,以及花在浏览某种信息上的时间).
I got a situation something like, i can use Private Frameworks of Apple in order to know the operations being performed on iPhone Safari( i.e History the Tabs being browsed and time spend on browsing kind of info).
我经历了一些类似Dumping Private框架之类的事情.但是我不知道要转储哪个框架,我想WebKit可能会有所帮助. 可以请一些机构提供必要的信息来解决此问题.
I have gone through some of the things like Dumping Private frameworks. But i don't know which Framework to Dump i guess WebKit may help. Can some body please give the needful info to solve this problem.
我已将Dumped类导入到框架,即WebHistory.h,WebHistoryItem.h,WebPreferences.h 请让我知道,以防我错过任何事情
i have imported the Dumped classes to Frameworks i.e WebHistory.h, WebHistoryItem.h, WebPreferences.h Please let me know in case i miss anything
#import "WebHistory.h"
- (void)viewDidLoad {
[super viewDidLoad];
WebHistory *history=[WebHistory optionalSharedHistory];
NSLog(@"%@",history);
}
推荐答案
我们可以在/var/mobile/Media/Safari/中找到history.plist,这可以在越狱的iPhone中阅读.
We can find the history.plist in /var/mobile/Media/Safari/ and this we can read in jailbreaken iPhone.
这篇关于如何使用私有框架从iPhone App访问Safari历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!