https://github.com/markrickert/uiwebview-removeshadow
iOS UIWebView category to remove the top and bottom shadow that Apple automatically adds to every webview. This is particularly useful if you want to use HTML to create a view in your application that's scrollable and want to use your own self.view.backgroundColor or similar.
https://github.com/markrickert/uiwebview-removeshadow
Last synced: about 1 year ago
JSON representation
iOS UIWebView category to remove the top and bottom shadow that Apple automatically adds to every webview. This is particularly useful if you want to use HTML to create a view in your application that's scrollable and want to use your own self.view.backgroundColor or similar.
- Host: GitHub
- URL: https://github.com/markrickert/uiwebview-removeshadow
- Owner: markrickert
- License: mit
- Created: 2011-12-01T14:43:17.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2013-05-17T13:38:41.000Z (about 13 years ago)
- Last Synced: 2025-04-30T18:09:27.092Z (about 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 131 KB
- Stars: 35
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# UIWebView+RemoveShadow
iOS UIWebView category to remove the top and bottom shadow that Apple automatically adds to every UIWebView.
This is particularly useful if you want to use HTML to create a view in your application that's scrollable and want to use your own self.view.backgroundColor or similar.
# Example Usage
```#import "UIWebView+RemoveShadow.h"```
Then in your ```-(void)ViewDidLoad``` method:
```[self.yourWebview makeTransparentAndRemoveShadow];```
That's it! Now when your user scrolls up and down on your UIWebView, they won't see the shadows.
Turns this:

Into this:
