ios - ZoomingPDFViewer example error -
i'm trying develop app can show pdf file. try complete zoomingpdfviewer http://developer.apple.com/library/ios/#samplecode/zoomingpdfviewer/introduction/intro.html#//apple_ref/doc/uid/dts40010281-intro-dontlinkelementid_2
code in apple library. when mix code code function doesn't work. , if make same code (don't mixed) app throw error:
* terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[uiview setpdfpage:]: unrecognized selector sent instance 0x6a833f0'
i'm in sdk 5.0 requirements says should compile in sdk 5.1 sample runs perfect, problem in project don't know error.
i'll appreciate if can me strange error.
check class setting in storyboard.
- view controller -> custom class: zoomingpdfviewerviewcontroller ,
- scroll view -> custom class: pdfscrollview
the second setting cause of error.
Comments
Post a Comment