Disabling Quicklook Scaling
How to prevent users from resizing your 3D product.
Because you can pass options through to the underlying iOS and Android viewers, disabling scaling requires passing the right variable to each platform:
1
var data = {
2
options: {...},
3
productCode: "SKU001"
4
ios:{
5
allowsContentScaling: false,
6
}
7
android:{
8
resizable: false,
9
}
10
};
11
12
Variant.launchQuicklook(data);
Copied!
Find out more about the options you can pass in each platform's Quicklook documentation:
Last modified 7mo ago
Copy link