I have an iOS app with an UIPageViewController
that has 2 VCs:
- classic
UIViewController
with "SOS screen" UITabBarViewController
with 3 tabs, first isUITableViewController
with "Inbox"
In UIPageViewController.viewDidLoad
I set the UITabBarViewController
as the selected page.
This has worked fine in iOS 10, 11 and 12 but there is a problem with iOS 13 (built with Xcode 11)
When the UITabBarViewController
is displayed it is off, the tab bar under the bottom safe area and the navbar over status bar. When I swipe to the UIViewController
on the left and back to the UITabBarViewController
it "jumps" and layouts itself properly:
Any ideas how to deal with it? I tried replacing the UIPageViewController
with a custom UIViewController
with both VC added to a scroll view but that causes other problems, breaks back gesture, etc. I need a way to fix the UIPageViewController
.