device Detection Problem

I am facing a problem if we are detect the device .
My Config Code is…
[lua]if system.getInfo(“model”) == “iPad” then
application =
{
content =
{
width = 768,
height = 1024,
fps = 60,
scale = “zoomStretch”,
antialias = true,
xAlign=“left”,
yAlign=“top”
},
}
elseif system.getInfo(“model”) == “iPhone Simulator” then

application =
{
content =
{
–zoom
width = 320,
height = 480,
scale = “zoomStretch”
},
}
end
this is properly working on i Pad & iPhone but not working on iPhone4.
Please help me [import]uid: 107104 topic_id: 26745 reply_id: 326745[/import]