Please give a brief summary of your issue:
How to Custom annotation tools with customised actions?
Please describe your issue and provide steps to reproduce it:
In my project we have a specific requirement of having customised tool. On tap it should add markers/location pins to the pdf at specific location.On tap of markers i should get the call back.How to implement this? Can we achieve this using PTStampImage annotation.
The tools PTImageStampCreate and PTRubberStampCreate may also be useful to look at. The source code for each is included in the .dmg download, in /Lib/Tools/src/PDFViewCtrlTools/Tools/PTImageStampCreate.m and /Lib/Tools/src/PDFViewCtrlTools/Tools/PTRubberStampCreate.m respectively.
To detect when a user has tapped (selected) an annotation, you can listen to didSelectAnnotation.
Please let us know if you have any further questions.