When I run my Mac Catalyst app I'm getting unacceptable performance when resizing the window. Window resizing is very unresponsive/laggy.
Configuration:
- The root view controller is a UISplitViewController (three pane split using UISplitViewControllerStyleTripleColumn).
- Sidebar is configured. It's using a UICollectionView sidebar style (so it looks like NSOutlineView in AppKit).
- On initial launch there is no selection and the second and third view controllers in the split have empty placeholder view controllers.
- At this point window resizing is fine.
- Now I make a selection in the sidebar. This populates the supplementary view controller with a view controller that uses a UITableView.
- Now resizing the window performance is awful. Basically this is unusable. When resizing the window a bunch what looks to be Core Animation related logs flood the console during window resize:
cannot add handler to 3 from 1 - dropping Library: QuartzCore | Subsystem: com.apple.coreanimation
Now if I go to my app's Info.plist and add: UIDesignRequiresCompatibility entry with a value of TRUE and follow the same steps described above window resizing works as expected and I do not experience performance issues. Also with UIDesignRequiresCompatibility there is no "cannot add handlers" error logs flooding the console on window resize.