Q: what we would like to do is catch the tap events on the pdfviewctrl object. i don’t see that in the PDFNetiOS the events like:
handleTap or handleLongPress are being exposed in the binding. so if i overwrite the tool class like in the rest of the tools. i cannot overwrite this methods since they are not exposed.
can someone help me on this one.
mPdfViewCtrl.PdfScrollViewTap += (object sender, EventArgs e) => {
// do something
};
You can find a list of available events in our documentation: http://www.pdftron.com/pdfnet/mobile/docs/iOS/src/protocol_p_d_f_view_ctrl_delegate-p.html.
You will not need to customize the Tools in Obj-C.
A: If you just want to handle tap events, you can simply do: