PDF as Subview

In the master branch we've you can find a simple project called ResizingSample that adds the MFDocumentViewController's view as a subview of another controller's view.

Messages like -viewWillAppear and viewDidAppear have to be forwarded manually to the MFDocumentViewController when it is used outside of its intended scope (as element of a navigation stack or as a modal view controller).

Just press the Move! button to see what happens. The MoveViewController class is commented in the critical parts.

Recent Discussions

15 Apr, 2020 04:25 AM
26 Feb, 2020 07:23 AM
27 Jun, 2019 06:08 AM
23 Nov, 2018 01:54 PM
14 Nov, 2018 04:37 PM