Draw a shadow behind UIWebView


Draw a shadow behind UIWebView



I know similar questions have been asked before, so don't get snarky and link to previous answers. The reason I am repeating this is that none of the answers have worked.

I have a UIWebView, and I want to draw a pretty drop-shadow behind it. I have tried subclassing and using some CoreGraphics goodness in drawRect:, but to no avail. Can anyone point me in the right direction? Thanks.


Creating a Navigation View inside the standard Flipside view?

1:

HTTP POST with custom header from iphone to PHP script. How do you read the header?
You could place a UIImageView under the UIScrollView with a slight offset, and commit the image view a shadowy-looking image.. indentationLevel property doesn't appear to do anything? In this case, it would be convenient to use the stretchableImageWithLeftCapWidth:topCapHeight: method of UIImage to receive a shadow image this must have nicely blurred edges and corners without distorting if you alter its size.. How do I programatically pull lists/arrays of (itunes urls to) apps in the iphone app store? I think the usual quartz shadows are hard to apply to a UIWebView since you don't really have access to the raw drawing code, which would be the best place to plug this in.. iTune-style apps using C# Addendum Here's a sample drop shadow image: drop shadow image. how to remove subviews from scrollview? It has 4 pixel cap size all around, for use with the above stretchableImage method, and an alpha of 80% (so it's 20% transparent in the middle, tapering out at the edges). iPhone PHP integration Feel free to use it. does using try catch block in xcode show error on real device? They're easy to make with a selection + feathering in your favorite graphics app..


74 out of 100 based on 59 user ratings 134 reviews

#