- Posts: 11
- Thank you received: 0
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
10 years 5 months ago #10509
by colliot
Replied by colliot on topic Why drawLine tell me pdf readonly in demo iOS APP
sorry but i didn't fully understand what you're telling me, is the demo key usable once? in time? in use? in what?
- baizhirong
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
10 years 5 months ago #10510
by baizhirong
Replied by baizhirong on topic Why drawLine tell me pdf readonly in demo iOS APP
one device
10 years 5 months ago #10511
by colliot
Replied by colliot on topic Why drawLine tell me pdf readonly in demo iOS APP
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)
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)
- baizhirong
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
10 years 5 months ago #10512
by baizhirong
Replied by baizhirong on topic Why drawLine tell me pdf readonly in demo iOS APP
The demo can working in the first device
10 years 5 months ago #10513
by emanuele
Replied by emanuele on topic Why drawLine tell me pdf readonly in demo iOS APP
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:
You have to do the copy action before the tableview loading or restart the app after you copied the file.
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];
10 years 5 months ago #10514
by colliot
Replied by colliot on topic Why drawLine tell me pdf readonly in demo iOS APP
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
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