Latest 0.0.1
Homepage https://github.com/visoon/VSKeyboard
License MIT
Platforms ios 7.0
Authors

VSKeyboard

Resolve the keyboard shelter problem with one line code !

Installation

pod ‘VSInputView’

preview gif

image

Usage

Must call this method in viewDidAppear or viewDidAppear, pass a UIScrollView(better is a UIScrollView) that you want it scroll.

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    [VSKeyboard keyboardAffectOnView:self.mainScrollView];
}

Fetch the height of keyboard from a block timely.

/**
 *  will call the block when height of keyboard changed. Better be called in `ViewWillAppear` or `viewDidAppear`
 */
+ (void)keyboardHeightChanged:(HeightChangeBlock)block;

Latest podspec

{
    "name": "VSKeyboard",
    "version": "0.0.1",
    "summary": "Resolve the keyboard shelter problem with one line code !",
    "description": "Resolve the keyboard shelter problem with one line code ! !",
    "homepage": "https://github.com/visoon/VSKeyboard",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "vison": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/visoon/VSKeyboard.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "VSKeyboard",
        "VSKeyboardDemo/VSKeyboard/*"
    ]
}

Pin It on Pinterest

Share This