Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Why drawLine tell me pdf readonly in demo iOS APP

More
10 years 5 months ago #10509 by colliot
sorry but i didn't fully understand what you're telling me, is the demo key usable once? in time? in use? in what?
More
10 years 5 months ago #10510 by baizhirong
More
10 years 5 months ago #10511 by colliot
the only device i'm using is the Xcode emulator
and what limit my app? the activation code? because it seem to be the same for any apps
and the demo stay usable every time i closed/rebuild the demo, but the code i constructed from the .a and needed file doesn't work (for the reason i said earlier)
More
10 years 5 months ago #10512 by baizhirong
The demo can working in the first device
More
10 years 5 months ago #10513 by emanuele
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:
Code:
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.
More
10 years 5 months ago #10514 by colliot
Thank you very much for your reply,

but i already did that, do the problem come from the fact that i have imported the radaee sdk in my own project for basic testing like said in this doc: www.radaeepdf.com/download/download-ios/file/13-ios-guide ?

Thanks by advance
Time to create page: 0.389 seconds
Powered by Kunena Forum