Corona SDK Generator Files

Hello,

I was very curious about how the corona is the control and resizes the images, buttons etc … For applications and games become adapted to any device .
In android it is very complicated to make , in IOS I do not know .
Does anyone know how this works? everything is converted into pixels and the screen desenvidade is ignored ? Just curious. Corona SDK is excellent !