First of all my iPhone is not jail broken and I never did and second i never share my apple I’d password to anyone not even my family members but still don’t know how it happened.
Keep the iPhone updated to the latest iOS always and never Jailbreak. That's it.
iOS / iPadOS devices cannot be hacked or infected with Virus / Malware / Spyware if it is updated to the latest iOS/iPadOS unless you have intentionally downloaded spurious software or unauthorized apps directly from the internet and installed on your device or/and have Jail Broken.
It (Hacking) also depends on how careful are you in sharing sensitive and valuable information pertaining to your iPhone such as Passcode, Password etc with your friends and family members.
Be careful when sharing the device's sensitive and valuable information with friends and family members.
Thumb Rules:
- Enable Guided Access before handing over an iPhone to kids
- Don't share Apple IDs
- Don't Jail Break
- Don't share sensitive information pertaining to your device and payment methods
- Beware of Phishing
I got logging error from almost 1 year. My last Facebook I’d have been hacked then I made new one but and I have changed my Apple ID also but still Facebook logging error. Don’t know how to solve it and I did many things to solve it but not works