Hi,
There is no device limit on demo project installations, but to test your documents you have to copy them to the Document folder:
If you are using a device, you can use iTunes to copy your pdf:
- select your device
- select App tab
- scroll down to the end of the page
- select PDFViewer
- drag and drop your file into Document area
- run the PDFViewer demo
If you are using a simulator, you can to copy your pdf into app Documents folder with something like:
NSArray *paths=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *dpath=[paths objectAtIndex:0];
NSString *documentPath =[dpath stringByAppendingPathComponent:*your file name*];
NSString *filePath = [[NSBundle mainBundle]pathForResource:@"*your file*" ofType:@"pdf" inDirectory:@"*your directory*"];
[[NSFileManager defaultManager] copyItemAtPath:filePath toPath:documentPath error:nil];
You have to do the copy action before the tableview loading or restart the app after you copied the file.