Latest 1.0
Homepage https://github.com/cprime/UIWebView-WebStorage
License MIT
Platforms ios , requires ARC
Authors

UIWebView+WebStorage

UIWebView Category that adds CocoaTouch level hooks to HTML5 web storage.

How to use:

1. Load any URL into a UIWebView.

2. Access that web view’s SessionStorage and LocalStorage to your heart’s content.

UIWebView Category Interface

SessionStorage from a loaded UIWebView

- (void)setLocalStorageString:(NSString *)string forKey:(NSString *)key;
- (NSString *)localStorageStringForKey:(NSString *)key;
- (void)removeLocalStorageStringForKey:(NSString *)key;
- (void)clearLocalStorage;

LocalStorage from a loaded UIWebView

- (void)setSessionStorageString:(NSString *)string forKey:(NSString *)key;
- (NSString *)sessionStorageStringForKey:(NSString *)key;
- (void)removeSessionStorageStringForKey:(NSString *)key;
- (void)clearSessionStorage;

Latest podspec

{
    "name": "UIWebView-WebStorage",
    "version": "1.0",
    "summary": "UIWebView Category that adds CocoaTouch level hooks to HTML5 web storage.",
    "license": "MIT",
    "authors": {
        "Colden Prime": "[email protected]"
    },
    "source": {
        "git": "https://github.com/cprime/UIWebView-WebStorage.git",
        "tag": "1.0"
    },
    "homepage": "https://github.com/cprime/UIWebView-WebStorage",
    "requires_arc": true,
    "source_files": "UIWebView-WebStorage",
    "platforms": {
        "ios": null
    }
}

Pin It on Pinterest

Share This