Any way to get the sender phone number from a received sms on Iphone?

Go To StackoverFlow.com

0

I realize the ios sandbox prevents you from viewing the contents of an SMS msg, but is there some kind of workaround? What about if the msgs are sent to a skype or google voice number, could an iphone application access the numbers then? Thanks.

2012-04-03 23:54
by user1131308
If you could figure out a "workaround", would you be angry if it still didn't get approved for the app store? Apple doesn't take kindly to apps that can be perceived as not having respect for customer's privacy - Michael Dautermann 2012-04-03 23:57


2

In a sandboxed environment, No, you cannot access information in other applications or databases outside of your applications sandbox. There is simply no way to do it without being jailbroken. Apple would not allow such an app in the App Store either.

When you sign and package your app through Xcode (for submission to the iTunes App Store) it is packaged for distribution through a very specific process. Apps distributed this way are sandboxed. There is no way around this process for app packaged for the App Store.

2012-04-03 23:59
by WrightsCS