Kumar KL
Kumar KL

Reputation: 15335

Custom buttons inside UIWebView (for iPad)

Basically I want to put custom buttons on a UIWeebView.

I have a URL which fetches a PDF file. In that PDF there is a column of "myButton" and I need to put the button on it so that scrolls with the file.

How can I achieve it ?

Upvotes: 1

Views: 206

Answers (1)

Lalith B
Lalith B

Reputation: 12239

You can add a view to webview's scrollview

[webView.scrollView addSubview:youSubView];

Set your co-ordinates of the subview according to your requirement. The scrollview can be accessed only > iOS5. Refer the documentation.

Upvotes: 2

Related Questions