Registering SMS notification on iPhone
问题 Is there a way to implement a method that will notify the app that sms is receivec and then do something, in example turn on the LED light? 回答1: No. Apple would consider this a privacy violation. 回答2: There is no public API that provides access to SMS messages, for privacy reasons. 来源: https://stackoverflow.com/questions/9419982/registering-sms-notification-on-iphone