One Logo Pool Ball
UIKit · IOS API REFERENCE

UIActivityViewController.CollaborationModeRestriction

class · iOS 18.0+ · SDK 27.1

class CollaborationModeRestriction

Members (11)

method · iOS 18.0+

description

TypeScript
description(): Promise<string>
Swift declaration
func description() -> String
init · iOS 18.0+

init

TypeScript
static initDisabledMode(disabledMode: UIActivityCollaborationMode): Promise<UIActivityViewController_CollaborationModeRestriction>
Swift declaration
init(disabledMode: UIActivityCollaborationMode)
init · iOS 18.0+

init

TypeScript
static initDisabledModeAlertTitleAlertMessage(disabledMode: UIActivityCollaborationMode, alertTitle: string, alertMessage: string): Promise<UIActivityViewController_CollaborationModeRestriction>
Swift declaration
init(disabledMode: UIActivityCollaborationMode, alertTitle: String, alertMessage: String)
init · iOS 18.0+

init

TypeScript
static initDisabledModeAlertTitleAlertMessageAlertDismissButtonTitle(disabledMode: UIActivityCollaborationMode, alertTitle: string, alertMessage: string, alertDismissButtonTitle: string): Promise<UIActivityViewController_CollaborationModeRestriction>
Swift declaration
init(disabledMode: UIActivityCollaborationMode, alertTitle: String, alertMessage: String, alertDismissButtonTitle: String)
init · iOS 18.0+

init

TypeScript
static initDisabledModeAlertTitleAlertMessageAlertDismissButtonTitleAlertRecoverySuggestionButtonTitleAlertRecoverySuggestionButtonLaunch(disabledMode: UIActivityCollaborationMode, alertTitle: string, alertMessage: string, alertDismissButtonTitle: string, alertRecoverySuggestionButtonTitle: string, alertRecoverySuggestionButtonLaunchURL: string): Promise<UIActivityViewController_CollaborationModeRestriction>
Swift declaration
init(disabledMode: UIActivityCollaborationMode, alertTitle: String, alertMessage: String, alertDismissButtonTitle: String, alertRecoverySuggestionButtonTitle: String, alertRecoverySuggestionButtonLaunch alertRecoverySuggestionButtonLaunchURL: URL)
get · iOS 18.0+

alertDismissButtonTitle

TypeScript
get alertDismissButtonTitle(): Promise<(string) | null>
Swift declaration
var alertDismissButtonTitle: String? { get }
get · iOS 18.0+

alertMessage

TypeScript
get alertMessage(): Promise<(string) | null>
Swift declaration
var alertMessage: String? { get }
get · iOS 18.0+

alertRecoverySuggestionButtonLaunchURL

TypeScript
get alertRecoverySuggestionButtonLaunchURL(): Promise<(string) | null>
Swift declaration
var alertRecoverySuggestionButtonLaunchURL: URL? { get }
get · iOS 18.0+

alertRecoverySuggestionButtonTitle

TypeScript
get alertRecoverySuggestionButtonTitle(): Promise<(string) | null>
Swift declaration
var alertRecoverySuggestionButtonTitle: String? { get }
get · iOS 18.0+

alertTitle

TypeScript
get alertTitle(): Promise<(string) | null>
Swift declaration
var alertTitle: String? { get }
get · iOS 18.0+

disabledMode

TypeScript
get disabledMode(): Promise<UIActivityCollaborationMode>
Swift declaration
var disabledMode: UIActivityCollaborationMode { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIActivityViewController.CollaborationModeRestriction.init()

inherited init: cannot prove legal (class declares 5 custom initializers)

All UIKit types →