Setting aspect ratio on tablet portrait mode
- Print
Setting aspect ratio on tablet portrait mode
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
In portrait mode on a tablet, you can maintain the aspect ratio of the Shoplive screen or fill the screen completely.
// Keep aspect ratio
ShopLive.setKeepAspectOnTabletPortrait(true)
// get it Fullscreen
ShopLive.setKeepAspectOnTabletPortrait(false)
API Reference: setKeepAspectOnTabletPortrait(_ keep:)