I have create a module of PDF reader having search facility. I have integrated PDFTouch (http://www.binpress.com/app/demo/app/859) framework for this. When I start the app and open a PDF, so, when executing below lines from PDF module, my app crashes.
YLDocument *document = [[[YLDocument alloc] initWithFilePath:path] autorelease];
YLPDFViewController *v = [[YLPDFViewController alloc] initWithDocument:document];
I get error regarding 'v is returned nil', so, app crashes when I try to add this view controller into navigation controller. Can anyone help why I get nil viewcontroller on these 2 lines?