One Logo Pool Ball
TouchController · IOS API REFERENCE

TCControlContents

class · iOS 26.0+ · SDK 27.1

class TCControlContents

Members (9)

static · iOS 26.0+

buttonContents

TypeScript
static buttonContents(imageName: string, size: { width: number; height: number }, shape: TCControlContents_ButtonShape, controller: TCTouchController): TCControlContents
Swift declaration
class func buttonContents(forSystemImageNamed imageName: String, size: CGSize, shape: TCControlContents.ButtonShape, controller: TCTouchController) -> TCControlContents
init · iOS 26.0+

init

TypeScript
static init(images: Array<TCControlImage>): TCControlContents
Swift declaration
convenience init(images: [TCControlImage])
static · iOS 26.0+

directionPadContents

TypeScript
static directionPadContents(label: TCControlLabel, size: { width: number; height: number }, style: TCControlContents_DpadElementStyle, direction: TCControlContents_DpadDirection, controller: TCTouchController): TCControlContents
Swift declaration
class func directionPadContents(label: TCControlLabel, size: CGSize, style: TCControlContents.DpadElementStyle, direction: TCControlContents.DpadDirection, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+

switchedOnContents

TypeScript
static switchedOnContents(imageName: string, size: { width: number; height: number }, shape: TCControlContents_ButtonShape, controller: TCTouchController): TCControlContents
Swift declaration
class func switchedOnContents(forSystemImageNamed imageName: String, size: CGSize, shape: TCControlContents.ButtonShape, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+

throttleBackgroundContents

TypeScript
static throttleBackgroundContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declaration
class func throttleBackgroundContents(size: CGSize, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+

throttleIndicatorContents

TypeScript
static throttleIndicatorContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declaration
class func throttleIndicatorContents(size: CGSize, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+

thumbstickStickBackgroundContents

TypeScript
static thumbstickStickBackgroundContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declaration
class func thumbstickStickBackgroundContents(size: CGSize, controller: TCTouchController) -> TCControlContents
static · iOS 26.0+

thumbstickStickContents

TypeScript
static thumbstickStickContents(size: { width: number; height: number }, controller: TCTouchController): TCControlContents
Swift declaration
class func thumbstickStickContents(size: CGSize, controller: TCTouchController) -> TCControlContents
get · iOS 26.0+

images

TypeScript
get images(): Array<TCControlImage>
Swift declaration
var 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 →