How to set Background image for iphone app in phonegap
I am new in phonegap development and i am developing one project for iphone application with use of phonegap framework.
开发者_StackOverflowI am setting http://www.wallpaperbase.com/wallpapers/computer/mac/mac_8.jpg image as a background of my iphone application but its showing problem with image means image not properly displaying on my iphone Device like as given image example below.
Please solve my issue ASPS.
Please check my code and let me know what's wrong in it.
You need to try this on line number 15 in index.html page-
<body style="background: url(mac_8.jpg) no-repeat;background-size: 100%;" >
then your app's background image will look like this -
only if you made changes in info.plist to support for landscape mode for iPhone
One important thing - take background image of size 320X480 or 640X940 (iPhone4)
精彩评论