How can i delete all sms on IOS programmatically?

Hello everyone,

I need to delete all sms's in iphone/ipads. In my scenario, an iphone/ipad device can be used by more than one people. So I want to delete all sms in the device which belongs to previous user. How can i achieve that in programmatically or other solutions?

I need to delete all sms's in iphone/ipads.

iOS has no APIs for this. You may be able to achieve this using MDM, per my response on your other thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

How can i delete all sms on IOS programmatically?
 
 
Q