Tutorial details

Dismiss The Keyboard With The Return Key | App Code for Sale | Preview

Dismiss The Keyboard With The Return Key | iOS Tutorial

How to dismiss the keyboard

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodedismisskeyboard.htm

In this tutorial i will be showing you how to dismiss the keyboard Features:

  • 1 textfield

When entering text into a textfield and keyboard pops up and crowds the screen and its pretty huge but when you have finished entering text the keyboard hangs around so you would need to dismiss it and i show you how to do this now

ViewController.h PAGE TOP

@interface ViewController :UIViewController {
}
-(IBAction)ReturnKeyButton:(id)sender; 
@end

ViewController.m PAGE TOP

@implementation ViewController
-(IBAction)ReturnKeyButton:(id)sender {
    [sender resignFirstResponder];
}
@end

Reference PAGE TOP

http://www.geekylemon.com/WEBPROTECT-xcodedismisskeyboard.htm

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.