Is it possible for someone to hack iphones?

I have an iphone 4 and someone managed to get a hold of my contacts and prank text them using my cell number making it look like i did it. I know there's a way to get fake call sites where you pretend you are calling from a ghost number but an actual text prank is new to me. How can someone get access through my contacts without me knowing it?

From what I have been discovering, it is as easy, even easier, to hack into an iphone as it is a computor. A rson could have a scanner, walk past you on the street and collect all of your information from your phone. You need to protect it just the same as you do your PC with programmes and basic care.

No worries as long as you didn't jailbreak it, all code is reviewed before it can even get in the appstore so no worry about viruses. If you are talking about spamming with contacts, then yeah that can be done anywhere but thats elementary…