Can a 3rd party iPhone web browser (based on the SDK) access the contents of a page?
Can a 3rd party iPhone web browser (based on the SDK) access the contents of a page?
For example, can I select a portion of a page I'm开发者_如何学Python viewing in my custom-made 3rd party iPhone app-based web browser and then instruct the browser app to perform an operation with the selected text and/or html-embedded image?
You can't access the content of a UIWebView
directly. You can however use javascript to access the selected text in a UIWebView
. There is even a tutorial that explains how you would do just that.
精彩评论