Can we use PDFKit framework for iPad? - iphone

i'm trying to launch a webView by clicking a URL link in a Pdf file.... but i'm unable to do it.... one of the forum member asked me to use PDFKit but it works only in MAc OS 10.0 and above. Where as i'm trying to create my APP in SDK 3.2.. please send the sample code if possible....

No in iOS 4.2 there is no PDFKit framework available (see the document "iOS Technology Overview"). In UIKit and in the QuartzCore.framework are same functions for working with PDF's.

As of iOS 11 the answer to this question is now yes.

Related

Use UIKit with Vapor or Kitura

I have developed an iOS App and would like to create a web API with some parts of my code. This API will send an UIImage generated from a UIView.
The problem I have with Vapor is that I only managed to use AppKit, not UIKit. Certainly because the Xcode project with Vapor is a MacOS project.
Is there a way to use UIKit or iOS Swift code with Vapor or any other solutions like Kitura ???
Thanks for your help :)
Regards,
If you want your Backend API Server (Vapor or Kitura) to run in a hosted environment, it will need to be able to run on Linux - where only Foundation is supported.
You can still transfer UIImages between iOS app and server, but you'll need to convert the UIImage to Data first (using something like UIImage.jpegData())
You can see an example of this in the "FoodTrackerBackend" tutorial for Kitura here:
https://github.com/IBM/FoodTrackerBackend

whether other iOS except iOS 5 will support this framework or not?

I am not getting any good code for integrating text with image upload on twitter using iphone sdk. I found that with release of iOS 5 a framework named Twitter.Framework is also released. Will this framework be supported on older iOS?
No, Twitter integration got introduced in iOS 5. You'll need to find a third party library for older versions of iOS.

iPhone twitter integration: NSXMLParserDelegate protocol not found error

Im very new to iPhone programming, and am facing this really weird issue with importing the Twitter+OAuth libraries for implementing some basic twitter integration into my program.
My SDK is iPhone 3.1.3. After i drag-drop the twitter+oauth library, i add the header path and the library search path
[$(SDKROOT)\usr...whatever as i found in this tutorial ]
I then added the libxml2.dylib framework to the project. When i compile the project, i get six errors, all the same from different .h files that say
"NSXMLParserDelegate protocol not found".
Please help! :(
From the documentation of NSXMLParserDelegate
Available in iOS 4.0 and later.
It simply wont work if you are using SDK 3.1.3
See this question for further info

error when AppKit framework added in iphone application

i want to import in my iphone application, but i know this framework is not available in iphone sdk,but i need to use NSfileWrapper class in this framework, is this class also available in UIKit or others framework available in iphone sdk, thanks
No, NSFileWrapper is not available on the iPhone. Simply adding a framework that doesn't exist on the iPhone also won't get you anything. Your application is very limited on the iPhone with regards to accessing files and you basically have to use the classes and methods provided by the Foundation framework for the iPhone.

Iphone SDK - Can I start a file (song) in the ipod feature of the iphone via the SDK?

I would like to have a feature in my iphone application that would start playing a file in my ipod section of the iphone. Does the SDK allow calls to this? Is there a simple way to start a song from my application other than using the iphones native interface?
No, I think the official iPhone OS 2.0 SDK does not allow this.
You cannot launch the iPod app from your application. But you can easily play a song.
Use the AVAudioPlayer from the AVFoundation Framework.
Ars Technica has a nice article on it, here.
This is now possible with 3.0 but I will not go further into it due to NDA issues. The information is available on the Developer Site.
Now that it's public, you're looking for MPMediaPickerController and MPMediaPickerControllerDelegate
http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMediaPickerController_ClassReference/Reference/Reference.html
Nope you cannot fire off a song from your media library but you can play a song you have embedded in you app or you download from the web here are some examples
Apple - Example
AppsAmuck - Example