Latest 0.1.1
Homepage https://github.com/zzh8829/UUInputAccessoryView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Flipboard playing multiple GIFs

apply with scrollview

Flipboard playing multiple GIFs

Installation

UUInputAccessoryView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "UUInputAccessoryView"

Usage

[UUInputAccessoryView showKeyboardConfige:^(UUInputConfiger * _Nonnull configer) {
    configer.keyboardType = UIKeyboardTypeNumberPad;
    configer.content = @"content";
    configer.backgroundColor = [UIColor colorWithWhite:0 alpha:0.5];

}block:^(NSString * _Nonnull contentStr) {
    // code
    if (contentStr.length == 0) return ;

}];

API

+ (void)showBlock:(UUInputAccessoryBlock _Nullable)block;

+ (void)showKeyboardType:(UIKeyboardType)type
                   Block:(UUInputAccessoryBlock _Nullable)block;

+ (void)showKeyboardType:(UIKeyboardType)type
                 content:(NSString * _Nullable)content
                   Block:(UUInputAccessoryBlock _Nullable)block;

// more flexible config
+ (void)showKeyboardConfige:(UUInputAccessoryConfige _Nullable)confige
                      block:(UUInputAccessoryBlock _Nullable)block;

UIKeyboardType

  • UIKeyboardTypeDefault,
  • UIKeyboardTypeNumbersAndPunctuation,
  • UIKeyboardTypeNumberPad,
  • UIKeyboardTypeNamePhonePad …

Author

Forked from https://github.com/ZhipingYang/UUKeyboardInputView

Zihao Zhang, [email protected]

License

UUInputAccessoryView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UUInputAccessoryView",
    "version": "0.1.1",
    "summary": "Add keyboard input to any view",
    "description": "Provide keyboard input to those views that do not accept input, such as button, cell, scrollview.nu4e3au4e00u4e9bu65e0u8f93u5165u6e90u7684u63a7u4ef6u6dfbu52a0u8f93u5165u54cdu5e94u3002u6bd4u5982u6309u94aeu3001cellu3001viewu7b49u6dfbu52a0u8f93u5165u6e90.",
    "homepage": "https://github.com/zzh8829/UUInputAccessoryView",
    "screenshots": [
        "https://github.com/zzh8829/UUInputAccessoryView/raw/master/demo1.gif",
        "https://github.com/zzh8829/UUInputAccessoryView/raw/master/demo2.gif"
    ],
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Zihao Zhang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zzh8829/UUInputAccessoryView.git",
        "tag": "0.1.1"
    },
    "social_media_url": "https://twitter.com/@zzh8829",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "UUInputAccessoryView/Classes/**/*"
}

Pin It on Pinterest

Share This