Latest 0.0.1
Homepage https://github.com/iamxiaokang/XKKeyboardManager
License MIT
Platforms ios 8.0
Frameworks Foundation, UIKit, CoreGraphics, CoreText
Authors

在我们开发中,经常会用到输入框输入文本,有的时候键盘会挡住我们的输入框,每次去写比较麻烦,我就写了一个处理挡住键盘的问题。

如何使用

#import "XKKeyboardManager.h"
@property (strong, nonatomic) XKKeyboardManager *keyboardManager;

__weak ViewController *weakSelf = self;
[_keyboardManager setAnimateWhenKeyboardAppearAutomaticAnimBlock:^(XKKeyboardManager *keyboardManager) {
    [keyboardManager adaptiveViewHandleWithAdaptiveView:weakSelf.view1,weakSelf.view2,weakSelf.view3,...., nil];
}];

具体使用可以看demo。

Latest podspec

{
    "name": "XKKeyboardManager",
    "version": "0.0.1",
    "summary": "u81eau9002u5e94u89c6u56feu5904u7406u952eu76d8u906eu6321u8f93u5165u63a7u4ef6u95eeu9898",
    "description": "u81eau9002u5e94u89c6u56feu5904u7406u952eu76d8u906eu6321u8f93u5165u63a7u4ef6u95eeu9898uff0cu5f00u53d1u8bedu8a00objective-c",
    "homepage": "https://github.com/iamxiaokang/XKKeyboardManager",
    "license": "MIT",
    "authors": {
        "iamxiaokang": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/iamxiaokang/XKKeyboardManager.git",
        "tag": "0.0.1"
    },
    "source_files": "XKKeyboardManager/*",
    "frameworks": [
        "Foundation",
        "UIKit",
        "CoreGraphics",
        "CoreText"
    ]
}

Pin It on Pinterest

Share This