How to block emojis from entering UITextView

Опубликовано: 30 Сентябрь 2024
на канале: Swift Arcade
2,407
37

Swift / UIKit / UITextView

In this video we look at a couple of different ways to block emojis from being entered into a UITextView. We do this sometimes when we want to prevent certain chars from being passed into our app or the backend.

0:00 Intro
0:32 How to block emojis
2:50 How to disable emojis from the keyboard
3:26 Handling copy/paste

Source

https://github.com/jrasmusson/swift-a...

Level Up Courses

Data Structures & Algorithms
https://www.udemy.com/course/the-swif...

Level Up AutoLayout
https://www.udemy.com/course/level-up...

Level Up in Swift
https://www.udemy.com/course/level-up...

Twitter
@jrasmusson