TechnologiesSecurity, Privacy & Authentication

PermissionKit

iOSmacOStvOSwatchOSvisionOS

PermissionKit lets your app request approval for communication permissions from a parent or guardian through Family Sharing. You compose a PermissionQuestion around a CommunicationTopic such as SignificantAppUpdateTopic, present the available PermissionChoice options, and submit it through an AskCenter, which routes the request for approval and returns a PermissionResponse. Use CommunicationHandle and CommunicationLimits to describe who is communicating and the limits in effect, and handle approval flow outcomes with AskPermissionAction and AskError on iOS, macOS, and visionOS.

Essentials 2

Submit communication permission requests and route them to a parent or guardian for approval.

  • Cl
    AskCenter
    A class that manages permission requests you send to parents or guardians for approval.
  • St
    AskPermissionAction
    An action that sends a permission question to a parent or guardian.

Permission Questions 4

Compose the question an app asks and describe what it is asking about.

  • Cl
    PermissionQuestion
    A class that captures a permission question posed by a person.
  • Pr
    QuestionTopic
    A protocol that defines a question topic that can be used to interpret what a person is asking for.
  • St
    CommunicationTopic
    A topic for requesting communication permission with specific people.
  • St
    SignificantAppUpdateTopic
    A topic for requesting permission for significant app updates.

Choices and Responses 2

Present the available options for a question and read the approval outcome.

  • St
    PermissionChoice
    A class that uniquely identifies a specific, statically defined permission choice.
  • St
    PermissionResponse
    A full permission response that includes the original question and chosen answer.

Communication Context 2

Describe who is communicating and the limits in effect for the request.

  • St
    CommunicationHandle
    Contact information for identifying and communicating with a person.
  • Cl
    CommunicationLimits
    A type that encapsulates the communication limits for your app.

Errors 1

Handle failures that occur while requesting or routing a permission approval.

  • En
    AskError
    Represents errors you encounter when asking a person to send a communication permission question.

Structures 2

  • St
    CommunicationLimitsButton
    A button that presents a system UI to a parent or guardian to ask for an exception to a child's communication limits.
  • St
    PermissionButton
    A button that presents a system UI to a parent or guardian to ask for an exception to a child's communication limits.

Extends 1

EnvironmentValues
← Security, Privacy & Authentication