Manage scroll view content insets depending on keyboard frame
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

KeyboardFriendlyScrolling

Swift version CocoaPods compatible Carthage compatible

Manage scroll view content insets depending on keyboard frame

Usage

Example

import UIKit
import KeyboardFriendlyScrolling

class ViewController: UIViewController {
    private var keyboardFriendlyScrollController: KeyboardFriendlyScrollController?

    @IBOutlet private weak var scrollView: UIScrollView!

    override func viewDidLoad() {
        super.viewDidLoad()
        keyboardFriendlyScrollController = KeyboardFriendlyScrollController(viewController: self, scrollView: scrollView).start()
    }
}

Installation

Carthage

Cartfile

github "morishin/KeyboardFriendlyScrolling"

CocoaPods

Podfile

pod 'KeyboardFriendlyScrolling'

LICENSE

MIT