Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kirpichenko committed Jun 11, 2014
1 parent 7ffa7ca commit 95c0b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Install using `CocoaPods`.

## Usage
First import `UIScrollView+EKKeyboardAvoiding` category to your project
<pre><code>@import UIScrollView+EKKeyboardAvoiding</code></pre>
<pre><code>#import "UIScrollView+EKKeyboardAvoiding.h"</code></pre>

To enable keyboard avoiding you have to set `contentSize` of your scroll view and enable keyboard avoiding using category method `setKeyboardAvoidingEnabled:`
<pre><code>UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:[[self view] bounds]];
Expand Down

0 comments on commit 95c0b62

Please sign in to comment.