Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-07-18 16:04:23 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
afd2ef4b5f977be67b21d180a7ce0dbbd681a823
afd2ef4b
1 parent
63984df2
rename dismissKeyboard
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
View file @
afd2ef4
...
...
@@ -195,13 +195,13 @@ extension UIViewController
{
func
setupToHideKeyboardOnTapOnView
()
{
let
tap
:
UITapGestureRecognizer
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
UIViewController.dismissKeyboard
)
)
let
tap
:
UITapGestureRecognizer
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
UIViewController.dismissKeyboard
Warply
)
)
tap
.
cancelsTouchesInView
=
false
view
.
addGestureRecognizer
(
tap
)
}
@objc
func
dismissKeyboard
()
@objc
func
dismissKeyboard
Warply
()
{
view
.
endEditing
(
true
)
}
...
...
Please
register
or
login
to post a comment