Launch the Calendar app on your iPhone. Tap Calendars at the bottom of the screen. Tap Edit in the upper corner of the screen. Tap Add Calendar under iCloud. Name the calendar “Spam”, and then tap Done. Tap Back in the upper corner of the screen. Tap on the spam invitation. Tap Calendar under the invitation name. Tap Spam to add the invitation to the new “Spam” calendar. Tap Back in the upper corner of the screen. In the main calendar view, tap Calendars at the bottom of the screen. Tap Edit in the upper corner of the screen. Tap Spam under iCloud. Scroll down to the bottom, and then tap Delete Calendar. Tap Delete Calendar once more to confirm.