Open ad184hl opened 5 years ago
I find an alternative method.
In case someone needs it, please refer the Apple documentation about UIDocumentPickerViewController
and UIDocumentBrowserViewController
.
Much easier to use and control with native support.
I have a
RootViewController
which is aUITabBarController
;then I have a
NavigationController
in thisRootViewController
;after that I use
self.navigationController?.pushViewController(vc, animated: true)
to add avc: CustomViewController
in theNavigationController
Now I have below standard code to call this package in the
vc: CustomViewController
However, after I select file and did those things there. The
vc: CustomViewController
is removed! It directly shows theNavigationController
level.Anyone knows how to fix this? I still need to stay in the
vc: CustomViewController
.