有没有办法访问iPhone的浏览器历史记录和应用程序历史记录

时间:2022-08-24 09:29:31

I dont know whether iam asking a right question..,kindly give your valuable advice. I want to know:

我不知道iam是否提出了正确的问题..请提出宝贵意见。我想知道:

  1. Is it possible to access iPhone's browser history in our code?
  2. 是否可以在我们的代码中访问iPhone的浏览器历史记录?

  3. Is there any way to access app histories (means; which apps i opened recently & what time.)

    有没有办法访问应用程序历史记录(手段;我最近和最近打开的应用程序。)

    waiting for your valuable reply.. Thanks.

    等待你的宝贵回复..谢谢。

4 个解决方案

#1


2  

For your Both Questions.. No as Apps are sandboxed in ios.

对于你的两个问题..没有,因为应用程序是在ios沙盒。

How to access iPhone Safari History in an App?
Getting safari history from phone
How to access Safari history from iPhone App using Private Frameworks

如何在应用程序中访问iPhone Safari历史记录?从手机获取Safari历史记录如何使用Private Frameworks从iPhone App访问Safari历史记录

#2


3  

App History can be accessed via a few methods. There are ways using Private APIs, but if you are aiming of the App Store that is probably not a good idea.

可以通过几种方法访问应用历史记录。有一些使用私有API的方法,但如果你的目标是App Store可能不是一个好主意。

Here is a UIDevice category to get the Processes currently running on your phone using Public APIs. You have to figure out which app matches which process name, but I have found that it is usually pretty straightforward (e.g. Facebook is Facebook).

这是一个UIDevice类别,用于使用公共API获取当前在手机上运行的进程。您必须确定哪个应用程序与哪个进程名称匹配,但我发现它通常非常简单(例如Facebook是Facebook)。

#3


1  

We can find the history.plist in /var/mobile/Media/Safari/ and this we can read in jailbreaken iPhone. And You dont have a way to access app histories either.

我们可以在/ var / mobile / Media / Safari /中找到history.plist,我们可以在越狱iPhone中阅读。而且你也没有办法访问应用程序历史记录。

#4


1  

There is a History.plist located at /private/var/mobile/Library/Safari for the jailbroken device only.

有一个History.plist位于/​​ private / var / mobile / Library / Safari,仅适用于越狱设备。

The history is stored in a property list outside of your applications sandbox and you cannot access it.

历史记录存储在应用程序沙箱之外的属性列表中,您无法访问它。

#1


2  

For your Both Questions.. No as Apps are sandboxed in ios.

对于你的两个问题..没有,因为应用程序是在ios沙盒。

How to access iPhone Safari History in an App?
Getting safari history from phone
How to access Safari history from iPhone App using Private Frameworks

如何在应用程序中访问iPhone Safari历史记录?从手机获取Safari历史记录如何使用Private Frameworks从iPhone App访问Safari历史记录

#2


3  

App History can be accessed via a few methods. There are ways using Private APIs, but if you are aiming of the App Store that is probably not a good idea.

可以通过几种方法访问应用历史记录。有一些使用私有API的方法,但如果你的目标是App Store可能不是一个好主意。

Here is a UIDevice category to get the Processes currently running on your phone using Public APIs. You have to figure out which app matches which process name, but I have found that it is usually pretty straightforward (e.g. Facebook is Facebook).

这是一个UIDevice类别,用于使用公共API获取当前在手机上运行的进程。您必须确定哪个应用程序与哪个进程名称匹配,但我发现它通常非常简单(例如Facebook是Facebook)。

#3


1  

We can find the history.plist in /var/mobile/Media/Safari/ and this we can read in jailbreaken iPhone. And You dont have a way to access app histories either.

我们可以在/ var / mobile / Media / Safari /中找到history.plist,我们可以在越狱iPhone中阅读。而且你也没有办法访问应用程序历史记录。

#4


1  

There is a History.plist located at /private/var/mobile/Library/Safari for the jailbroken device only.

有一个History.plist位于/​​ private / var / mobile / Library / Safari,仅适用于越狱设备。

The history is stored in a property list outside of your applications sandbox and you cannot access it.

历史记录存储在应用程序沙箱之外的属性列表中,您无法访问它。