Precautions to prevent iPhone virus from attachment
You are most likely safe, as there are extremely, extremely rare cases of getting a virus this easily, as iOS is extremely secure. There are no incidents of getting a virus from PDF on iOS, so you are definitely secure.