Message Profanity Filter (ApplozicSwift)
You can restrict specific words exclude from messages in ios by following the steps below:
- Download the restrictWords.txt file.
- Put it in root folder of your project and add file to your project.
- Enter the words you want to filter out in the file within the given format.
You can also disable certain messages using Regular expression pattern like shown below.
Prerequisite: Follow the first part of this section.
config.restrictedMessageRegexPattern = "\\d{10}"
Updated 8 months ago
Did this page help you?