I have an Firemonkey HD application and deploy it on iPad 2. Works fine.
When I deploy the same app on iPad 4 with Retina display I get problems.
The point is I have some drawing operations on a form and need exact form width and height.
ShowMessage('form wh = ' + FloatToStr(TForm(FImage.Parent.Parent). Width) + ':' + FloatToStr(TForm(FImage.Parent.Parent).Height));
on both devices I get a message:
form wh = 1024:748
What I need is automatic form size change.
What should I do to get it?
UPDATE: I try to use Screen.Size.Width but have Screen.Size.Width=1024 on Retina display. What do I do wrong?