How to view,Zoom e.t.c  pdf in iphone
Hi everyone i downloaded the code for pdf viewer from app link
http://developer.apple.com/library/ios/#samplecode/ZoomingPDFViewer/Introduction/Intro.html

but i am unable to run this code.Its showing warning for this line

NSURL *pdfURL = [[NSBundle mainBundle] URLForResource:@"TestPage.pdf" withExtension:nil];
  
nsbundle may not respond to URLForResource:withExtension

Could anyone help me in this.
I used this on iphone 3.2.1 sdk.
If anybody has used pdf in iphone by any other way as well ,please let me know how to do this.I am really new to this technology and no one to guide me.
I will really appreciate if anybody could help me.
How to view,Zoom e.t.c  pdf in iphone
===

Hi everyone i downloaded the code for pdf viewer from app link
http://developer.apple.com/library/ios/#samplecode/ZoomingPDFViewer/Introduction/Intro.html

but i am unable to run this code.Its showing warning for this line

NSURL *pdfURL = [[NSBundle mainBundle] URLForResource:@"TestPage.pdf" withExtension:nil];
  
nsbundle may not respond to URLForResource:withExtension

Could anyone help me in this.
I used this on iphone 3.2.1 sdk.
If anybody has used pdf in iphone by any other way as well ,please let me know how to do this.I am really new to this technology and no one to guide me.
I will really appreciate if anybody could help me.