Latest 1.1.3
Homepage https://github.com/OliverLetterer/SLScrollViewKeyboardSupport
License MIT
Platforms ios 5.0, requires ARC
Frameworks Foundation, UIKit
Authors

SLScrollViewKeyboardSupport auto adjusts UIScrollViews contentInset based on the first responder.

Usage

  • Allocate and keep a reference to an instance of SLScrollViewKeyboardSupport.
  • From now on, the SLScrollViewKeyboardSupport instance will observe keyboard notifications and adjusts the scrollViews contentInset if the firstResponder lies in scrollView.
- (void)loadView
{
    UIScrollView *scrollView = ...;
    SLScrollViewKeyboardSupport *support = [[SLScrollViewKeyboardSupport alloc] initWithScrollView:scrollView];
}

License

MIT

Latest podspec

{
    "name": "SLScrollViewKeyboardSupport",
    "version": "1.1.3",
    "platforms": {
        "ios": "5.0"
    },
    "license": "MIT",
    "source": {
        "git": "https://github.com/OliverLetterer/SLScrollViewKeyboardSupport.git",
        "tag": "1.1.3"
    },
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "requires_arc": true,
    "homepage": "https://github.com/OliverLetterer/SLScrollViewKeyboardSupport",
    "summary": "SLScrollViewKeyboardSupport auto adjusts UIScrollViews contentInset based on the first responder.",
    "authors": {
        "Oliver Letterer": "[email protected]"
    },
    "source_files": "SLScrollViewKeyboardSupport"
}

Pin It on Pinterest

Share This