Quality blog post: IT-BLOG-CN
When we use iOS
devices, we often receive spam messages starting with 1069
and 1065
. If we open iMessage
, it will be more serious, and various spam messages will be received from time to time.
From iOS11
, the mobile phone can hold the bad SMS interception plug-in. We can add some rules through the plug-in to filter the unwanted information.
⼀. Use xcode to create a new item.
[1] Add a TableView
to the Main.storyboard
home page to show the filtered information list. TableCell
Contains sender, sending time, and sending content.
[2] iOS
class of iOS
. Define a list of iOS
names to store the information filtered by the plug-in. Populate the iOS
list when the page is started.
Implement the iOS
interface and display the corresponding controls in iOS
.
⼆. Add SMS interception plug-in
[1] In the menu item of xcode
, select Message Filter Ex-tension
through File -> New -> Target
.
[2] Add filtering rules in the plug-in category 1069
and save the filtering results.
III. Enable SMS filtering
Compile and run the program, open the system setting software on the mobile phone, enable the filtering function under Information -> Notification&Spam, and select the plug-in name under SMS filtering. In this way, the received junk information can be displayed in our application, and the junk list is automatically classified in the information software of the system.
This document is transferred from 1069
.