title: Autofill OTP to the TextField when I receive message iPhone app
body: <p>While registering from my app I was sending OTP to the registered mobile number I want to retrieve that OTP in my app without opening SMS app...When the user received OTP message I need to display that OTP here ...How can I achieve this in iOS? I also have user Phone number with me.</p>
  
  <p>On search, I have found <a href="https://stackoverflow.com/questions/20901801/how-to-populate-otp-from-users-message-box-to-application-directly-in-iphone">this</a>  but I am not clear how to initiate this.
  Can anyone help me from this? </p>