Apologies for my laziness, but what is meant by "private API" here and why Apple does not want them to be used?
https://developer.apple.com/documentation/uikit/uiapplicatio...
Private APIs are not meant for use by third-party developers. They are not publicly documented and are subject to change without warning.
Apple markets privacy as one of the features for the iPhone.