开发者

How to add a image button to a web view programmatically using image tag in iPhone

开发者 https://www.devze.com 2023-01-15 00:59 出处:网络
I want to add a button to a bottom corner of the view after all the content is displayed. how can I add the image tag to loadHtmlString at the bottom right c开发者_JAVA技巧orner of the web view.Set th

I want to add a button to a bottom corner of the view after all the content is displayed. how can I add the image tag to loadHtmlString at the bottom right c开发者_JAVA技巧orner of the web view.


Set the button in the html itself under button tag and on its click event set the javascript that calls a function in iPhone. or take a button in html tag ad set its type as submit. and from iPhone code you can get the submit button method in webview.

Try exploring webViews Property.

hAPPY cODING...

0

精彩评论

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