Using Xcode 13, typing any substring of print suggests printContent() first in the Xcode code completion list above the common Swift print() function(s).
printContent(_ sender: Any?)
Tells your app to print available content.
"Jump to Definition" displays the following declaration, new for iOS 15 in 2021:
public protocol UIResponderStandardEditActions : NSObjectProtocol {
// ...
@available(iOS 15.0, *)
optional func printContent(_ sender: Any?)
}
What is the printContent() function and how is it used?
Is it in any way a new better replacement for print(), justifying its prominent code completion location in Xcode?
If not, how can I go back to pre-Xcode 13 behavior and suggest the extremely common print() function first in the list?

If your app includes the
UIApplicationSupportsPrintCommandkey in itsInfo.plistfile, people can print from your app using the keyboard shortcut Command-P, which callsprintContent(_:). You can also setprintContent(_:)as the action on other print-related controls such as a print button on a toolbar.Apple developer link