Deselecting an annotation programmatically

75 views
Skip to first unread message

James

unread,
Jun 22, 2015, 3:36:37 PM6/22/15
to pdfne...@googlegroups.com
Q:

How do I automatically deselect the current drawing object? Currently it is still active and users have to then hide drawing tools on mobile or select pan again to pan around.  I think it would be better to automatically go back to pan as soon as they have placed the object and only draw another object by selecting it again.

---------------------------------------------

A:

You can deselect an annotation programmatically by switching back to the pan tool. This can be done via the tool manager, eg. [self.toolManager changeTool:[PanTool class]];
Reply all
Reply to author
Forward
0 new messages