I was able to get my application working by downgrading from sdk
v8.1.2 and implementing the new
PTDocumentController class in place of the
PTDocumentViewController. I have tried this exact solution on the
v9.0.0 sdk but no luck.
One other thing I noticed while on
v8.1.2 is this display issue that occurs sometimes. The display for the
PTDoucmentController gets pushed up towards the top of the screen, making it impossible to to press any buttons on the toolbar. (See below)
Flipping the phone horizontally does fix this issue but presents another issue…
This issue prevents me from seeing the annotation toolbar. Even selecting different Tool Groups does not display the annotation tools. The annotation toolbar appears for a split second before my document is loaded, once my document is loaded the annotation toolbar will disappear and not return.
I know I kind of opened a can of worms here. Was wondering if these issues were fixed in v9.0.0 or if I am missing something simple.
I have been referring to this documentation
I have included,
_documentController.ToolGroupManager.SelectedGroup = _documentController.ToolGroupManager.AnnotateItemGroup;
but the annotation toolbar still doesn’t appear. I get this error message when selecting a different Tool Group.
[Presentation] Presenting view controller <UINavigationController: 0x7ffa8a907200> from detached view controller <Eureka_iOS_UI_PTDocumentController: 0x7ffa86cbf200> is discouraged.