UIMarkupTextPrintFormatter - Non-public API?

I recently had a build go into the system for Test Flight distribution and got the automated message:

"ITMS-90338: Non-public API usage - The app contains or inherits from non-public classes in Contents/MacOS/: UIMarkupTextPrintFormatter."

I've been using UIMarkupTextPrintFormatter for a long time, and it appears to be a very-public API. I don't even see it as being marked obsolete/deprecated.

Is anyone else getting this message? Is this just a goof on Apple's part, or will I need to find some alternative to UIMarkupTextPrintFormatter?

Post not yet marked as solved Up vote post of JacobJ84 Down vote post of JacobJ84
663 views

Replies

As a followup - this appears to only be true for macOS Catalyst apps. It looks like UIPrintInteractionController and UIPrintInfo also got sucked into this mess as well? Are these truly not allowed for macOS Catalyst now?