Math

Answered

Convert math, but don't add results. iOS

Is it possible to run conversion on Math ContentPart, but prevent adding the result to converted text? Eg. I write "1+2". If I convert it, the result is "1+2=3" . But I only want to have "1+2" there - exactly what was written.


Best Answer

Dear Kozarek,

Indeed, in a math part by default the solver is enabled. You can refer to the "math.solver.enable" configuration: https://developer.myscript.com/docs/interactive-ink/latest/reference/configuration/#math

In your case, you shall set the configuration to false, as follows: editorViewController.engine.configuration.setBoolean(false, forKey: "math.solver.enable")

Best regards,

Olivier


Answer

Dear Kozarek,

Indeed, in a math part by default the solver is enabled. You can refer to the "math.solver.enable" configuration: https://developer.myscript.com/docs/interactive-ink/latest/reference/configuration/#math

In your case, you shall set the configuration to false, as follows: editorViewController.engine.configuration.setBoolean(false, forKey: "math.solver.enable")

Best regards,

Olivier

Works, thanks for support. I am still getting used to the SDK.