iink SDK on Device

Answered

impor and export

i have cretaed project in swift nad im not getting hte dea to export hte data in various formats...plzzz help



Best Answer

Dear Ganesh,


Currently, this approach is not recommend by Apple and has not been tested at all on our side.


Instead, you shall use the iCloud drive API to synchronise your files. This way, you will always save/open files locally.


Best regards,


Olivier


Dear Ganesh,


Currently, I am not sure to understand what you mean. Please try to write clearly.


If I understand well, you would like to get the supported Mime types when exporting? Did you use the 

getSupportedExportMimeTypes function: https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#getSupportedExportMimeTypes-com.myscript.iink.ContentBlock-


Best regards,


Olivier

Error, -[IINKEngine openPackage:openOption:error:]::152 io error


i get this error when i want to import any file from filemanager in swift

Dear Ganesh,


currently, the io error when trying to open an existing package indicates that the package can not be accessed. It can be that it doesn't exist at the location given, it has not been saved, it is corrupted...: https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Engine.html#openPackage-java.io.File-com.myscript.iink.PackageOpenOption-


Please investigate further, so that we can provide with a more accurate answer.


Best regards,


Olivier

i have stored the file in icloud drive and i'm accessing it back....i give the file path but above error occurss

Answer

Dear Ganesh,


Currently, this approach is not recommend by Apple and has not been tested at all on our side.


Instead, you shall use the iCloud drive API to synchronise your files. This way, you will always save/open files locally.


Best regards,


Olivier