open PDF in my webview and make phone call through it - iphone

i want to open pdf in my webview and if that pdf contains any phone number then i can make call when touches on phone number.any help please?

If the PDF is on the web just load the page in the webview or you can use phonegap (phonegap.com) if you want to load a local PDF. If you choose the first option just go into interface builder and check the phone numbers checkbox from your webviews info. On phone gap phone numbers are standard

Related

How can I detect focus in textfields in a webview using Swift 3?

I am building an application, and when I load a website in webview using Swift 3, the screen will appear like this, now I want to detect when user clicks on the email text field, and add a button to the navigation controller.
I don't know how to do it, does anyone have any idea?
The main use of webview is near like an iframe in web.
I mean that webview is just a displaying of internet content. By this way, you cannot detect any action like user clicks on email textfield.
According to me and currently, there is no possibility to do that because it is not the goal of a webview.

how to view selected area source in from UIWebview in iphone SDK?

iPhone SDK:
Like web-browser does, user select any text area then press right click then select view source. browser will show you selected area source.
Now I want to achieve same functionality in UIWebview ? User open webpage in in-app browser (in UIWebview), user select any text area, i want to get selected text area source, how this can be done in ios sdk ?

how can we use browse button in iphone for images or file

how can we use browse button in iphone for images or file.i want to upload images to server from iphone.
Since the iOS 6.0, the safari app and all webviews can handle upload/file html input fields for images and such.
You can only access files present in your sandbox. And on iOS, the guidelines say that you should display a list of files that can be uploaded (perhaps in a table view in a separate view), rather than a browse dialog.

Ways of showing a webpage in iPhone?

I have a UIwebview which loads up a page ,first the links in the page were opening up on the same page, that made it look ugly, then I found a function which made the link open up in the phone's safari browser.That was nice but actually I want to show the links in a pop up view which can simply be closed. I have seen the google map popping up and showing the map. I want to do the same same thing with the links on the page they should open up as pop up and should not open up in safari and neither in the same UIWebview.
What could be the possible way to implement this.
Another inspiration is phonegap's ChildBrowser which opens the link as a popup.
I want to implement the same in native.
Any help and suggestions will be appreciated.
You have to use UIWebview to show the web content for the link. just resize it by using frame property as per your requirement because it's inherited by UIView.

PDF inner links not working iphone webview

I am Using pdf in my application .i am loading PDF in webView .In that PDF i have index as a first page click on list item it should go that particular page and in that PDF for every page top option is there clock on that it should go first page .how can i solve this problem .help out me
thank you
i am loading PDF in webView .In that PDF i have index as a first page click on list item it should go that particular page and in that PDF for every page top option is there clock on that it should go first page
check its code it will help u...
im using it my app
https://github.com/vfr/Reader
try this code
it may help you
https://github.com/vfr/Reader