Adding the Toolbar on iOS



I am unable to show the toolbar. I get the rendered file in the view controller. Says ‘demo’. But without the top toolbar to be able to exit the viewer, select/copy, bookmarks, etc. Why do I not see the toolbar?


The getting started blog post walks you through getting the basics of a PDF viewer up and running. It doesn’t implement a full featured app, and doesn’t step you through adding the annotation toolbar, which is why you don’t see it.

The source code for the annotation toolbar is included in the tools project (/Lib/src/PDFViewCtrlTools/Tools/Controls/AnnotationToolbar.{h,m}), and is used by the sample project Complete Reader, which you can reference when adding it to your app.