This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Mischa Eliseev
Posted Aug 05 - Read on Facebook

I've got a prototype I made for iPhone Plus in 3x
Is of possible to preview it on normal iPhone with as little modification on code as possible?


Jonas Treub

You could try the following code but some things might break. Screen.width will not return the correct value for example.

currentDeviceType = Framer.Device.deviceType
currentDevice = Framer.DeviceView.Devices[currentDeviceType]
ratio = Screen.width / currentDevice.screenWidth
Framer.Device.contentScale = ratio if ratio isnt 1

Read the entire post on Facebook