PDFKit setBounds to trimBox doesn't work as expected in iOS16

Hi, I found the setBounds:forBox: function doesn't set the bounds of trimBox as expected in iOS16. On iOS15.6, when the setBounds is called and page is larger than the specified bounds, the page will shrink and resize to fit inside the specified bounds; but on iOS16, it doesn't do anything. From the debugger I can tell that the trimBox bounds is indeed set to the specified size, but I'm not sure what underlying logic is broken. Has anyone seen similar issues in iOS16?

PDFKit setBounds to trimBox doesn't work as expected in iOS16
 
 
Q