Hi everyone, I have a problem when using an input files, on Ios.
Photo Library does not work and causes the app to crash.
Choose file is working correctly,
the web is full of this error in this line int retVal = UIApplicationMain (argc, argv, nil, NSStringFromClass ([AppDelegate class]));
but xcode's suggestion is clearer, I just don't understand how to replace the source type
thanks for any suggestions
sorry, solved with Capture property to False!
Hello Andrea,
The point is that the error that you shown is procuded in the compiled Swift code: we commonly no need to edit nor modify that code, but the Javascript code of our apps.
Apparently you solve the problem, however, maybe with "Capture=True" you can get the things worked as expected, but, if you add the below XML in the Config XML option of the app:
Basically, when we need to use the Camera or the Library, we need to establish certain strings in order to properly use that resources at iOS. So you can try with that XML, or, just leave the Capture = False, if you solve with this and you no need to go ahead.
Thanks David for the answer, I inform you that I had already entered
reading around it seems that from ios 12 there are these problems
Hello Andrea,
I am not sure... probably it's not solve the error, but, look at your "nscameraUsageDescription"... maybe it's case sensitive and you must use "NSCameraUsageDescription". On the other hand, iOS 12... sounds old to me... and may you are right and that problem is related with that version of iOS.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.