I am using PSPDFKit and wondering how to add button programmatically on same pages (say page 21 of pdf) and when I click that button, I should go to some another view controller where I will have data according to the page number.
e.g. I have buttons on all pages and if I click on page 21 button 1, I should get re-directed to new view controller and there I will be having label which will say page 21.
Any idea/ suggestion how to get this done?