init(phoneNumber:)
Creates a new critical message recipient with the provided phone number.
Declaration
init(phoneNumber: String)Parameters
- phoneNumber:
A phone number that conforms to the En, without any non-numeric characters such as parentheses, periods, dashes, or a plus character (+) that introduces a country code.
Discussion
Use this method to create a new critical message recipient. When delivering messages, the framework displays the phone number you provide here.