One Logo Pool Ball
Additional SDK Modules · IOS API REFERENCE

_PermissionKit_UIKit

Explore _PermissionKit_UIKit types and the APIs available through One's generated iOS bindings.

0 types

4 callable entries

0 skipped

100% entry coverage

Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.

Types

No matching types.

Functions and constants

method · iOS 26.0+

ask

TypeScript
ask(question: _PermissionKit_PermissionQuestion<_PermissionKit_CommunicationTopic>, viewController: _UIKit_UIViewController): Promise<void>
Swift declaration
final func ask(_ question: PermissionQuestion<CommunicationTopic>, in viewController: UIViewController) async throws

Requests that a child send the communication permission question to their parent or guardian. Throws an error if the system can't request a child to send the permission question. - Parameter question: The question that the system requests the child send. - Parameter viewController: The view controller to which to anchor and present system UI.

method · iOS 27.0+

askSignificantChangePermission

TypeScript
askSignificantChangePermission(question: _PermissionKit_PermissionQuestion<_PermissionKit_SignificantAppUpdateTopic>, permissionFlow: _PermissionKit_PermissionFlow, viewController: _UIKit_UIViewController): Promise<_PermissionKit_PermissionResult>
Swift declaration
@MainActor final func askSignificantChangePermission(for question: PermissionQuestion<SignificantAppUpdateTopic>, permissionFlow: PermissionFlow, in viewController: UIViewController) async throws -> PermissionResult

Requests that a child send the significant app update permission question to their parent or guardian using the specified permission flow. Throws an error if the system can't request a child to send the permission question. - Parameter question: The question that the system requests the child send. - Parameter permissionFlow: The permission flow to present. - Parameter viewController: The view controller to which to anchor and present system UI. - Returns: The user's resolved action — `.askToApprove(didSend:)`, `.approveInPerson(approved:)`, or `.cancel`.

method · iOS 26.2+

ask

TypeScript
askIn(question: _PermissionKit_PermissionQuestion<_PermissionKit_CommunicationTopic>, viewController: _UIKit_UIViewController): Promise<void>
Swift declaration
final func ask(_ question: PermissionQuestion<CommunicationTopic>, in viewController: UIViewController) async throws

Requests that a child send the communication permission question to their parent or guardian. Throws an error if the system can't request a child to send the permission question. - Parameter question: The question that the system requests the child send. - Parameter viewController: The view controller to which to anchor and present system UI.

method · iOS 26.2+

ask

TypeScript
askIn61031(question: _PermissionKit_PermissionQuestion<_PermissionKit_SignificantAppUpdateTopic>, viewController: _UIKit_UIViewController): Promise<void>
Swift declaration
final func ask(_ question: PermissionQuestion<SignificantAppUpdateTopic>, in viewController: UIViewController) async throws

Requests that a child send the significant app update permission question to their parent or guardian. Throws an error if the system can't request a child to send the permission question. - Parameter question: The question that the system requests the child send. - Parameter viewController: The view controller to which to anchor and present system UI.

Skipped declarations

No declarations were skipped in this snapshot.