TouchController · IOS API REFERENCE
TCControlContents
class · iOS 26.0+ · SDK 27.1
class TCControlContents
Members (9)
static · iOS 26.0+buttonContents
TypeScriptstatic buttonContents(imageName: string, size: { width: number; height: number }, shape: TCControlContents_ButtonShape, controller: TCTouchController): TCControlContents
Swift declarationclass func buttonContents(forSystemImageNamed imageName: String, size: CGSize, shape: TCControlContents.ButtonShape, controller: TCTouchController) -> TCControlContents
init · iOS 26.0+init
TypeScriptstatic init(images: Array<TCControlImage>): TCControlContents
Swift declarationconvenience init(images: [TCControlImage])
static · iOS 26.0+directionPadContents
TypeScriptstatic directionPadContents(label: TCControlLabel, size: { width: number; height: number }, style: TCControlContents_DpadElementStyle, direction: TCControlContents_DpadDirection, controller: TCTouchController): TCControlContents
Swift declarationclass func directionPadContents(label: TCControlLabel, size: CGSize, style: TCControlContents.DpadElementStyle, direction: TCControlContents.DpadDirection, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+switchedOnContents
TypeScriptstatic switchedOnContents(imageName: string, size: { width: number; height: number }, shape: TCControlContents_ButtonShape, controller: TCTouchController): TCControlContents
Swift declarationclass func switchedOnContents(forSystemImageNamed imageName: String, size: CGSize, shape: TCControlContents.ButtonShape, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+throttleBackgroundContents
TypeScriptstatic throttleBackgroundContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declarationclass func throttleBackgroundContents(size: CGSize, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+throttleIndicatorContents
TypeScriptstatic throttleIndicatorContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declarationclass func throttleIndicatorContents(size: CGSize, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+thumbstickStickBackgroundContents
TypeScriptstatic thumbstickStickBackgroundContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declarationclass func thumbstickStickBackgroundContents(size: CGSize, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+thumbstickStickContents
TypeScriptstatic thumbstickStickContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declarationclass func thumbstickStickContents(size: CGSize, controller: TCTouchController) -> TCControlContents
get · iOS 26.0+images
TypeScriptget images(): Array<TCControlImage>
Swift declarationvar images: [TCControlImage] { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
TCControlContents.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All TouchController types →