Skip to main content

QuickLookSessionOptions

interface QuickLookSessionOptions
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
allowsContentScalingboolean✔️trueWhether to allow content scaling.
canonicalWebPageURLstring | null✔️The web URL to share when the user invokes the share sheet. If null is given, the USDZ file will be shared.
applePayButtonTypestring | null✔️Type of the apple pay button in the banner. See QUICK_LOOK_APPLE_PAY_BUTTON_TYPE
callToActionstring | null✔️A text that will be displayed instead of Apple Pay Button. See Official Guide Page
checkoutTitlestring | null✔️Title of the previewed item. See Official Guide Page
checkoutSubtitlestring | null✔️Subtitle of the previewed item. See Official Guide Page
pricestring | null✔️Price of the previewed item. See Official Guide Page
customstring | null✔️Custom URL to the banner HTML. See Official Guide Page
customHeightstring | null✔️Height of the custom banner. See QUICK_LOOK_CUSTOM_BANNER_SIZE