title: iOS - Detect text message/call notifications (non-jailbroken device)
body: <p>I am working on a concept and I do not need it in the appstore. I have searched for the ways to do this. Found this one answer which says its been done in iOS 4,5,6. Please check below link.</p>
  
  <p><a href="https://stackoverflow.com/questions/13933407/is-there-any-private-api-for-iphone-that-detect-sms-sent-or-received">Is there any private api for iphone that detect sms sent or received</a></p>
  
  <p>The example code is in C,C++ and makes very little sense in terms of Objective-C. Is there any other way to detect a call/message notification from within the app? Any amount of help is appreciated. </p>