Search code examples
iosibm-mobilefirstdojoworklight-studio

Device (iPhone 5) Resolution not getting detected when working with Worklight 6.0.0.1


I build one application using Worklight 6.0.0.1 and tested it on iPhone 4S. Its working fine. But when i tried testing it on iPhone 5 then screen size getting displayed according to iPhone 4S resolution i think. Its showing some vacant space above and below of the screen. Please refer snapshot for more detail.

enter image description here

I have tried changing the size of body in my css to

#content {
height: 568px;
margin: 0 auto;
width: 320px;

}

But its not reflecting.

regards, V@run


Solution

  • Problem Resolved!! i have replaced all the images in Eclipse itself by taking my all images with same name as taken by worklight by default. before i was replacing the images in Xcode. Only God knows the behavior of Worklight.