Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.

TOPIC:

Annotations not saved Xamarin.iOS 4 years 4 days ago #14980

  • gongtom
  • gongtom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 1
Hello,

I just tried again and I still have the issue with pdf forms. I have attached two pdf that cause the same issue in my app.
Here is what happens (screenshots attached):
When selecting a text area the page slides to the top so that the textarea is at the top end of the screen.


It's possible to enter some text, but it is gone as soon as the textarea looses focus.


The PDF from the screenshots is this one:

This browser does not support PDFs. Please download the PDF to view it: Download PDF



Thanks again for the quick help and greetings!
Thomas.

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

Annotations not saved Xamarin.iOS 4 years 3 days ago #14981

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Dear user,
we are checking your pdf file.
Just a quick info, are you opening the pdf file from assets or from a non-writable folder?
You can edit the file (add, edit, delete) annotations only if the pdf file is in a writable folder (like Documents folder).
When you tap on annotations, the page slides to the top to show both the annotation and the keyboard (it seems you are using a simulator, correct?).

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

Annotations not saved Xamarin.iOS 4 years 3 days ago #14982

  • gongtom
  • gongtom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 1
Hello,

The PDF is in the documents folder. Other Annotation are working and can be saved, so that should not be the problem. Just the text inputs in forms aren‘t saved.
And yes, you are right. I used the simulator to test the form, so that is not a bug, its space for the keyboard. I understand that.

Thanks
Thomas.

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

Annotations not saved Xamarin.iOS 4 years 3 days ago #14983

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
We checked you pdf files with the Xamarin demo project (both physical device and simulator) and we are able to edit text fields and save the file.
We open the pdf file with this code:
UIViewController controller = (UIKit.UIViewController)plugin.Show("file://OoPdfFormExample.pdf", "");
Are you using the demo project for test? or a custom project?
Do your Xamarin project contains "cmaps" and "fdat" in Resources folder?
The following user(s) said Thank You: gongtom

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

Annotations not saved Xamarin.iOS 4 years 3 days ago #14984

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
compare demo project to our core library, we found some codes not merged correctly.
we shall better check today.

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

Last edit: by radaee.

Annotations not saved Xamarin.iOS 4 years 2 days ago #14985

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
Dear user:
we better checked, the beta demo is same to last core library.
the previous reply based on stable release version, which is using old library.
so, to test your issue, you shall download last beta ios version(not stable release), and test it without any modification.
issue of EditText most like Globale_setAnnotFont() return false, when initializing.
The following user(s) said Thank You: gongtom

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

Powered by Kunena Forum