How to access iPhone Safari History in an App?

2019-01-12 07:43发布

Is there any way to access History of iPhone Safari?

Regards, krishnan

标签: iphone safari
3条回答
我只想做你的唯一
2楼-- · 2019-01-12 08:19

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 -

We can find the history.plist in /var/mobile/Media/Safari/ and this we can read in jailbreaken iPhone.

查看更多
爷的心禁止访问
3楼-- · 2019-01-12 08:20

No, the applications are sandboxed and isolated from one another. You can't read data out of one app from another. It's part of the security model.

Would you like some random app to go trolling through your surfing history?

查看更多
我只想做你的唯一
4楼-- · 2019-01-12 08:25

yes only if you are developing for jailbreak device.

查看更多
登录 后发表回答