i'm trying to get the url from a pdf files so that if a user double taps the url on the pdf file, it opens in a new web page.... how can i do it ? any suggestions ? i'm using Xcode 3.2 version.
Apple provide the PDFKit API which you might want to use rather than wrting your own PDF parser.
Related
I am working on editor application. I am able to create editor & I generated html file from
RichText using webView. Now client wants to save this html file into .docx format.
I searched too much in iOs sdk to convert .html into .docx but could not found any help.
During search I found following link
http://htmltodocx.codeplex.com/
This is a php file.
Now I want integrate this file in my xcode.
Now my problem is that how I integrate this php code file in iOs?
OR is there any other option to generate .docx file from .html file in iOs?
Any help or idea would be geat.
Thanks
I want to open the iBook file in my device without use the third party apps like iBook App.I have read many articles and suggests use of UIDocumentInterectionController class.
See the SO answer How to open a file on iBooks
When I use UIDocumentInterectionController class with demo app, it launch the iBooks Appliaction. But i want to open the file without third party app.
If I have use itms-books: at the beginning in the url , It's not work in IOS 7.
Please help Me.
If you are opening a aPub file it might work to use some ePub component.
Native iBook files are not support by iOS and there for UIDocumentInterectionController will not be able to display the file and open iBooks.
QuickLook only supports:
iWork documents
Microsoft Office documents (Office ‘97 and newer)
Rich Text Format (RTF) documents
PDF files
Images
Text files whose uniform type identifier (UTI) conforms to the public.text type
Comma-separated value (csv) files
In my application i need to launch ppt , xls, pdf files. i am sure, iOS Framework support to view PDF files without launching any other application, but is there any way to open ppt , xls doc , if yes please give me any pointer,
I believe, there should be some SDKs available , which can be integrated through an application and can make use of it.
If you just want to view the Office files, have a look at:
Document Interaction Programming Topics for iOS: Quick Look Framework.
Quick Look Framework Reference
Quick Look Framework supports a lot of file formats as you can see in the links above. It is available in iOS 4.0 and later.
You can also use UIWebView to display them. See Using UIWebView to display select document types.
I imported pdf file to iphone device using iTunes. I verified that the pdf file stored in 'root/user/media/books' path. Can i read this file in my program?
Is there any way to read the file? Please Help me.
Thanks in advance.
The SDK doesn’t provide any access to the books (including PDFs) in the user’s media library. For your app to read a PDF that was added via iTunes, it needs to be added to your app specifically, using the iTunes file sharing malarkey (look up “UIFileSharingEnabled” for more information on that). You can file an enhancement request with Apple to try to get them to add support for accessing the user’s book library, but don’t count on it.
Here is a guide on how to view a pdf on the screen. Here is a previous post about how to parse a pdf using CGPDFScanner. Hope that helps!
From iOS 3.2, application can be called to open specify files, lick .zip .
we try to implement an application can open the zip attachment file in iOS, it works.
But from iOS 4.0, apple provide a new file preview framework call Quick Look Framework. The default email application will open the preview of the file default. But the quick look framework doesn't provide a method to implement the preview of custom file type. Does anyone knows how to solve this problem? Right now if the file type is not support, the email will open a black preview View.
This problem was sloved by iOS 4.1