iOS Prevent PTErase from deleting images

Hi there,
is there any way to prevent deleting images only for PTEraser tool, not for the menu.

Regards

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi @ogito,

This is not currently possible but we agree being able to exclude certain annotation types from the eraser would be a useful API so we will look at implementing it.

I will keep you updated with our progress.

Hi @ogito,

We have added an API to the tool manager to allow you to control which annot types should not be erased.
It’s available in our latest stable nightly build:
Cocoapods
DMG

Usage (Objective-C example)

toolManager.eraserExcludedExtendedAnnotTypes = @[@(PTExtendedAnnotTypeImageStamp)];

Please let us know if that works for you.