Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Pod
 
 
 
 
 
 
 
 
 
 

KSKeyboardHandler

[![CI Status](http://img.shields.io/travis/Kai Schaefer/KSKeyboardHandler.svg?style=flat)](https://travis-ci.org/Kai Schaefer/KSKeyboardHandler) Version License Platform

KSKeyboardHandler

This library provides a category for UIView to handle UIKeyboardWillChangeFrameNotification. Replace the view position if it is necessary.

Usage

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

How To Use

Just #import "UIView+KSKeyboardHandler.h" and add to your UIView addKeyboardListner. Here is a simple example of how to use the category:

#import "UIView+KSKeyboardHandler.h"


UIView *sampleView = UIView.new;    

[sampleView addKeyboardListner];

Requirements

  • ARC
  • iOS7+

Installation

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

pod "KSKeyboardHandler"

Author

Kai Schaefer, kai.j.schaefer(at)gmx.net

License

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