Tutorial details

Swift Dismissing Keyboard | App Code for Sale | Preview

Swift Dismissing Keyboard | iOS Tutorial

In this tutorial i will be showing you how to dismiss the keyboard in swift Features: 1 Button, 1 Label, 1 Textfield

Overview PAGE TOP

In this tutorial i will be showing you how to dismiss the keyboard in swift

Features:

  • 1 Button
  • 1 Label
  • 1 Textfield

Dismissing the keyboard is a simple actions and by creating this action you can link over actions to it.

ViewController.Swift PAGE TOP

import UIKit

class ViewController: UIViewController {
@IBOutlet var Label: UILabel!
@IBOutlet var TextField: UITextField!
@IBAction func DismissKeyboard(sender: AnyObject) {
self.resignFirstResponder()
Label.text = TextField.text
}
}

Reference PAGE TOP

http://www.geekylemon.com/swift-dismissing-keyboard

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.