In a non jail broken iphone is it possible to access/read sms from an iphone application.
I have read that in case of an Android phone this thing is possible, as i need to develop an ios app which can automatically read an OTP sent through an sms to a user.
Since iOS application is sandboxed, i just want to confirm the possibility to do it legally.