Please give a brief summary of your issue:
-We are getting runtime warning (Purple line) in xcode when we are trying to load pdf file and adding DocumentsController as child Controller
-Is their any way to avoid that? or better approach to add it as child controller.
Steps to produce:
Add this attached controller file to project, add any pdf file and try to load it with this controller
The runtime warning can be ignored - we will look into resolving it in a future update to the SDK.
Regarding UIViewController containment, you can consult the following Apple documentation: Apple Developer Documentation
Please note that in general, we recommend showing instances of the PTDocumentController class inside a UINavigationController, presented modally if possible.