What to Do if your Device gets infected with Malware

 

If you suspect your iPad or iPhone may be infected with malware, don't panic! However, you should take no chances. Instead, just follow these instructions to wipe your gadget clean and start over with factory settings.
  1. Use iCloud to back up your device and all personal data on it
  2. Go to Settings > General > Reset
  3. Tap “Erase All Content and Settings” to clear all apps and data from the device
  4. Restart your iOS device and set it up again
  5. Sign into iCloud when you set up your iOS device and restore your backed up data
  6. If needed, download your apps again from the App Store