How can I select annotation programatically? ïm trying to use OnPDFAnnotTapped but it calls the var of the controller. I just want it to perform the same behaviour as if the user clicked the annotation
no there are no direct api to achieve this.
You can implement these features by yourself, I suggest you to take OnPDFSingleTapped as example.
You can iterate through the annotation with page.getAnnot() into a loop, then check the annot type with m_annot.GetType, m_annot.GetEditType(), m_annot.GetFieldType() or others and then handle them following the OnPDFSingleTapped example.