开发者

Can a 3rd party iPhone web browser (based on the SDK) access the contents of a page?

开发者 https://www.devze.com 2023-01-27 07:19 出处:网络
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 a

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消