From 95c0b620556fa37b384ad28e2a52937098de1e36 Mon Sep 17 00:00:00 2001 From: Evgeniy Kirpichenko Date: Wed, 11 Jun 2014 15:13:21 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9c90d4..8dde679 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Install using `CocoaPods`. ## Usage First import `UIScrollView+EKKeyboardAvoiding` category to your project -
@import UIScrollView+EKKeyboardAvoiding
+
#import "UIScrollView+EKKeyboardAvoiding.h"
To enable keyboard avoiding you have to set `contentSize` of your scroll view and enable keyboard avoiding using category method `setKeyboardAvoidingEnabled:`
UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:[[self view] bounds]];