问题
In previous versions of iOS we didn't access to short messages inbox. New version of iOS released, now have we access to inbox?
回答1:
NO this is still not possible. Check out Adam Davis's answer on How to programmatically send SMS on the iPhone? this still remains the same.
Apps will still work in a sandbox in iOS8 so they will not know about other apps and will not be able to access their content. This is how Apple has always had it and I very much doubt they will change it any time soon, if they change it at all. Also check out How Can We Read Incoming SMS by using Application in iOS
回答2:
iOS doesn't have inbox system as Symbian or Android instead they use message to send and receive SMS.
回答3:
you can read message from notification whenever new incoming message arrive
回答4:
Update iOS 12 yes you can ready as you can see here. all you need to do is
yourTextField.textContentType = .oneTimeCode
Thanks & Regards
来源:https://stackoverflow.com/questions/24034417/can-i-access-to-sms-inbox-in-new-version-of-ios