Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC:

Why drawLine tell me pdf readonly in demo iOS APP 8 years 3 weeks ago #10509

  • colliot
  • colliot's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
sorry but i didn't fully understand what you're telling me, is the demo key usable once? in time? in use? in what?

Please Log in or Create an account to join the conversation.

Why drawLine tell me pdf readonly in demo iOS APP 8 years 3 weeks ago #10510

  • baizhirong
  • baizhirong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
one device

Please Log in or Create an account to join the conversation.

Why drawLine tell me pdf readonly in demo iOS APP 8 years 3 weeks ago #10511

  • colliot
  • colliot's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
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)

Please Log in or Create an account to join the conversation.

Why drawLine tell me pdf readonly in demo iOS APP 8 years 3 weeks ago #10512

  • baizhirong
  • baizhirong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
The demo can working in the first device

Please Log in or Create an account to join the conversation.

Why drawLine tell me pdf readonly in demo iOS APP 8 years 3 weeks ago #10513

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
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.
The following user(s) said Thank You: Davide, colliot

Please Log in or Create an account to join the conversation.

Why drawLine tell me pdf readonly in demo iOS APP 8 years 3 weeks ago #10514

  • colliot
  • colliot's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum