My iphone
How can I tell my husband hacked my iPhone
How can I tell my husband hacked my iPhone
Read here on 2FA: Two-factor authentication for Apple ID - Apple Support
He would need physical access to it in order to jailbreak it. He could have compromised your Apple ID / iCloud account. If you suspect he did, change your password and turn on 2 factor authentication, then call a lawyer.
Of course, if you share an ID, there's nothing to "hack". He has access to all of your information anyway.
If you do not share Apple ID and have a strong and unique Apple ID's password,
it will be very hard for your husband to hack your iPhone.
How do I do the 2 factor thing
Read here on 2FA: Two-factor authentication for Apple ID - Apple Support
My iphone