Ir al contenido

TryYourSize.Configuration

Esta página aún no está disponible en tu idioma.

TypeTryYourSize (Swift)

Options of the client.

appearanceAppearanceObligatorio

Colours, font and corner radius for the button and the window.

localeString?Obligatorio

BCP 47 language for the button and the window; nil: the app's preferred language.

bundleIdentifierString?Obligatorio

The app's identity registered for the store; nil: Bundle.main.bundleIdentifier.

embedOriginURLObligatorio

Our window's origin (change only for staging or local development).

inspectableBoolObligatorio

Lets Safari's Web Inspector attach to the window (iOS 16.4+). Debug builds only.

let tys = try TryYourSize(publishableKey: "pk_test_…", configuration: .init(
appearance: Appearance(borderRadius: 10),
locale: "es"))

¿Te ha resultado útil esta página?