I want to access / back the list such as UIWebView
is new to do this Is there a public API or solution for?
I have tried:
while ([webview canGoback]) {[webview goback]; }
But this tool will also freeze (simulator too).
disclaimer
With something like this, Keep in mind that the results can not be done through App Store approval and can not work with future modification of SDK.
There is no official method to do this in SDK. However, if you really want to clear the history behind / behind the UIWebView
, then it can be done with a little hide in the private framework.
A fast and dirty way of doing this (complete with a group of ugly compiler warnings) is as follows:
Given that myUIWebViewInstance
< Code> UIWebView is a very common example of: id internal webview = [[myUIWebViewInstance _documentView] webView]; [InternalviewTechnensbackbackword list: no]; [InternalviewSettenancebackFollowword list: Yes];
The method is also attractive in the framework _clearBackForwardCache
, but it did not seem to work much on tickling. Just Boolean Flicking made a treat for me.
Comments
Post a Comment