开发者

Select DOMRange to modify / add the content in the existing WebView

开发者 https://www.devze.com 2023-02-18 11:09 出处:网络
My requirement is like that, I have a WebView control in my view i will be getting data from some other source and need to display in the WebView, it could be an image, or any other Markup data,

My requirement is like that, I have a WebView control in my view i will be getting data from some other source and need to display in the WebView, it could be an image, or any other Markup data,

As i know to insert the content programmatically, i should us开发者_运维问答e the method below,

[pWebView replaceSelectionWithMarkupString:@"<html><body><p>Hi there </p></br></body></html>”];

Kind Regards

Rohan


WebView Insert / Modify Content dynamically

Solved the way suggested in above answer

0

精彩评论

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