Sunday, August 05, 2012

How to show Retina Display Images on UIWebView in iOS

If you are making a mobile web app or embedding a UIWebView in your native app, showing @2x.png images is not as straight as it is to use in UIImageView. If you use an Image in UIIMageView   then it automatically picks @2x image for iPhone 4 and greater but it does not work if you are calling images from CSS that loads in UIImageView, for that purpose you have to use  webkit-background-size

For example visit here: