One Logo Pool Ball
UIKit · IOS API REFERENCE

UIApplicationShortcutItem

class · iOS 9.0+ · SDK 27.1

class UIApplicationShortcutItem

Members (8)

init · iOS 9.0+

init

TypeScript
static initTypeLocalizedTitle(type: string, localizedTitle: string): UIApplicationShortcutItem
Swift declaration
convenience init(type: String, localizedTitle: String)
init · iOS 9.0+

init

TypeScript
static initTypeLocalizedTitleLocalizedSubtitleIconUserInfo(type: string, localizedTitle: string, localizedSubtitle?: (string) | null, icon?: (UIApplicationShortcutIcon) | null, userInfo?: (Record<string, SDKHandle>) | null): UIApplicationShortcutItem
Swift declaration
init(type: String, localizedTitle: String, localizedSubtitle: String?, icon: UIApplicationShortcutIcon?, userInfo: [String : any NSSecureCoding]? = nil)
get · iOS 9.0+

icon

TypeScript
get icon(): (UIApplicationShortcutIcon) | null
Swift declaration
@NSCopying var icon: UIApplicationShortcutIcon? { get }
get · iOS 9.0+

localizedSubtitle

TypeScript
get localizedSubtitle(): (string) | null
Swift declaration
var localizedSubtitle: String? { get }
get · iOS 9.0+

localizedTitle

TypeScript
get localizedTitle(): string
Swift declaration
var localizedTitle: String { get }
get · iOS 9.0+

targetContentIdentifier

TypeScript
get targetContentIdentifier(): (unknown) | null
Swift declaration
var targetContentIdentifier: Any? { get }
get · iOS 9.0+

type

TypeScript
get type(): string
Swift declaration
var type: String { get }
get · iOS 9.0+

userInfo

TypeScript
get userInfo(): (Record<string, SDKHandle>) | null
Swift declaration
var userInfo: [String : any NSSecureCoding]? { get }

Skipped declarations

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

UIApplicationShortcutItem.init()

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

All UIKit types →