To run the example project, clone the repo, and run pod install
from the Example directory first.
RGDoneKeyboard is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RGDoneKeyboard'
Turn on the accessory in storyboard. For details, check these videos:
Import it in the ViewController you want it to work:
import RGDoneKeyboard
In your viewDidLoad function, call RGDoneKeyboard on self:
self.RGDoneKeyboard(dismissOnTap: true)
If you want to dismiss the keyboard when you tap on the view, you can set dismissOnTap as true.
iRohitGaur, rohitgaur7@gmail.com
RGDoneKeyboard is available under the MIT license. See the LICENSE file for more info.