An alternate keyboard for iOS that lets you display all the emojis supported by iOS. Documentation is available via CocoaDocs.
Additions that need to be done:
- Stickers
- Custom emojis (different font)
To run the example project:
- Clone the repo to a local folder.
- Run
pod install
from the Example directory. - Open
AGEmojiKeyboardSample.xcworkspace
placed in Example folder. - Run.
AGEmojiKeyboard
is available through CocoaPods, to install
it simply add the following line to your Podfile:
pod "AGEmojiKeyboard"
Copy the classes from AGEmojiKeyboard/ and resources from Resources/ to your project. Look at the Example/ folder to see how the classes are used for more detail.
- Use your own
ViewController
(optionally) to conform to AGEmojiKeyboardViewDataSource and AGEmojiKeyboardViewDelegate protocol. - Create an instance of [AGEmojiKeyboardView][AGEmojiKeyboardView] and set it as your
textView
'sinputView
.
CGRect keyboardRect = CGRectMake(0, 0, self.view.frame.size.width, 216);
AGEmojiKeyboardView *emojiKeyboardView = [[AGEmojiKeyboardView alloc] initWithFrame:keyboardRect
dataSource:self];
emojiKeyboardView.autoresizingMask = UIViewAutoresizingFlexibleHeight;
emojiKeyboardView.delegate = self;
self.textView.inputView = emojiKeyboardView;
Ayush Goel, ayushgoel111@gmail.com
AGEmojiKeyboard is available under the MIT license. See the LICENSE file for more info.