Start a new topic
Text
i want add to add multiple blocks like math,diagram in text document
what should be provide location or Cgpoint to add block one down to another blocks
let Editor = editorViewController.editor
do
{
try Editor?.addBlock(CGPoint(x: 0, y: 0), type: "Diagram")
}
catch
print(error.localizedDescription)
Dear Ganesh,
this is on iOS coding issue. Please refer to the above links that explain how you can proceed on iOS. It it not an iink issue: https://stackoverflow.com/questions/1561521/turn-off-zooming-in-uiscrollview
Best regards,
Olivier
you can refer to the following post, that explains how you shall compute the height to add the block at the proper location: https://developer-support.myscript.com/support/discussions/topics/16000027123
how to make editor view non zoomable
This is more an iOS question than a MyScript iink question.
Maybe you could disable the pinch:
-https://stackoverflow.com/questions/25553711/disable-magnification-gesture-in-wkwebview
-https://forums.developer.apple.com/thread/101330
-https://www.raywenderlich.com/6747815-uigesturerecognizer-tutorial-getting-started
-...
in the text document when i add multiple blocks ,then i want to make the editor non zoomable
i dont want to add pan and pinch gesture
Currently, I am not sur to understand.
Indeed, some of the above link explain how to enable/disable zoom on iOS.
If this doesn't answer your expectation, please provide a video that helps understand.
this is my text document page and do not want to zoom in or zoom out
Ganesh Chaudhari
i want add to add multiple blocks like math,diagram in text document
what should be provide location or Cgpoint to add block one down to another blocks
let Editor = editorViewController.editor
do
{
try Editor?.addBlock(CGPoint(x: 0, y: 0), type: "Diagram")
}
catch
{
print(error.localizedDescription)
}
Dear Ganesh,
this is on iOS coding issue. Please refer to the above links that explain how you can proceed on iOS. It it not an iink issue: https://stackoverflow.com/questions/1561521/turn-off-zooming-in-uiscrollview
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Ganesh,
you can refer to the following post, that explains how you shall compute the height to add the block at the proper location: https://developer-support.myscript.com/support/discussions/topics/16000027123
Best regards,
Olivier
1 person likes this
Ganesh Chaudhari
how to make editor view non zoomable
Olivier @MyScript
Dear Ganesh,
This is more an iOS question than a MyScript iink question.
Maybe you could disable the pinch:
-https://stackoverflow.com/questions/25553711/disable-magnification-gesture-in-wkwebview
-https://forums.developer.apple.com/thread/101330
-https://www.raywenderlich.com/6747815-uigesturerecognizer-tutorial-getting-started
-...
Best regards,
Olivier
Ganesh Chaudhari
in the text document when i add multiple blocks ,then i want to make the editor non zoomable
i dont want to add pan and pinch gesture
Olivier @MyScript
Dear Ganesh,
Currently, I am not sur to understand.
Indeed, some of the above link explain how to enable/disable zoom on iOS.
If this doesn't answer your expectation, please provide a video that helps understand.
Best regards,
Olivier
Ganesh Chaudhari
this is my text document page and do not want to zoom in or zoom out
Olivier @MyScript
Dear Ganesh,
this is on iOS coding issue. Please refer to the above links that explain how you can proceed on iOS. It it not an iink issue: https://stackoverflow.com/questions/1561521/turn-off-zooming-in-uiscrollview
Best regards,
Olivier