ask(_:in:)
Requests that a child send the communication permission question to their parent or guardian.
Declaration
final func ask(_ question: PermissionQuestion<CommunicationTopic>, in viewController: UIViewController) async throwsParameters
- question:
The question that the system requests the child send.
- viewController:
The view controller to which to anchor and present system UI.
Discussion
Throws an error if the system can’t request a child to send the permission question.