Today processing an order details of the interface, on the Order Details page has a contact (phone number), on the right side of the phone has two pictures, one is the phone style, one is a text message style, as a programmer (known as Siege Division) should be a button, rather than ImageView, Since it is the button that should be the phone and text messages, so that when we click on this button, we should call the system to send a text message interface, the following first to look at and demand:
This essay is mainly a summary of the text message code, call later update
Here is the implementation code that calls the system to send text messages
A new project.
Next is the button click event Processing method
here, the basic functions can be achieved.
But for a bit more user experience, we can do the following:
Another reminder: the need to run the real machine, the simulator does not send text message function.
IOS (call system send SMS function)