Forget my pickiness and if this post is totally unrelated to you, let me know but I need to post this. From time to time I try out new iPhone apps and it always bugs me that devs are not able to get rid of the shadow in UIWebView. Granted there is no API for that, but it's not very hard to figure out how to do it. You just have to care enough.
A good example is Reeder. Reeder renders its text in a UIWebView and there are no shadows on the top or on the bottom.

A shocking bad example is Instapaper:

Here is what I do in Instacast to get rid of the shadows and to make the background view white like the web content:
for(UIScrollView* webScrollView in [self.webView subviews]) {
if ([webScrollView isKindOfClass:[UIScrollView class]]) {
for(UIView* subview in [webScrollView subviews]) {
if ([subview isKindOfClass:[UIImageView class]]) {
((UIImageView*)subview).image = nil;
subview.backgroundColor = [UIColor whiteColor];
}
}
}
}
Apple is using simple UIImageViews to draw the background pattern and the shadows. You just have to make these image views hidden. The result is a clean text view with no shadows and background colors whatsoever.

The code does not use any private API and is totally valid. In fact I use this technique of traversing subviews of Apple views a lot. Everytime when there is public API missing, you can do this. Another example would be the UISearchBar. You can traverse the subviews and make the actual bar invisible and you get a nice UISearchField that would otherwise be private to use. This technique is App Store approval process approved.
April 5th, 2011 • Permalink
07/13/2011 - My Inbox Archiving Apple Script for Apple Mail
06/22/2011 - I love Blocks
04/05/2011 - Getting rid of the shadow in UIWebView
01/14/2010 - Got the keys to the new headquarter office
11/05/2009 - Snowtape at the Mac Consumer Show
11/05/2009 - iPhone Tech Talk in Hamburg
07/06/2009 - HDCrashReporter - Cocoa crash reporter class
04/01/2009 - HUD Panels are driving me nuts
03/26/2009 - Regarding MacHeist
03/07/2009 - Unboxing my new 24
02/18/2009 - How to name your lite iPhone app