present(product:step:from:)
Esta página aún no está disponible en tu idioma.
Opens the measuring / try-on window for a product, as a sheet over presenter (default: the app’s top-most view controller).
Swiping the sheet down asks the window first: with unsaved measurements, the shopper confirms.
public func present(product: String, step: OpenStep? = nil, from presenter: UIViewController? = nil)Parameters
Section titled “Parameters”productStringObligatorioYour product ID or SKU.
stepOpenStep?Opcional= nil.create, .improve or .view (default: where the shopper is).
fromUIViewController?Opcional= nilThe presenting view controller (default: the top-most one).
Example
Section titled “Example”tys.present(product: "SKU-123") // or step: .view, from: viewControllertys.present(activity, "SKU-123") // or step = OpenStep.VIEWpresent("SKU-123"); // or present("SKU-123", "view")await tys.present('SKU-123'); // or step: OpenStep.view¿Te ha resultado útil esta página?
Gracias. Leemos todas las respuestas.