Recently encountered text to display is very long, and to wrap the display.
Summarize the method of line wrapping:
1. Directly with the space bar to change the line: (this kind of line is not complete, encountered Iphone6plus will not be)
NSString *authenticationstring = [NSString stringwithformat: @ "1, through the club certification, Cardholders who are bound to China UnionPay Platinum credit card or diamond credit card at the time of certification can enjoy this benefit; , &N Bsp , &NB Sp 2, platinum or diamond card specific means: Card face with UnionPay logo and "Platinum/platinum" or "Priorit platinum/platinum" or "Diamond/diamond" The words of the bank card; , &NB Sp , &NB Sp 3 (only applicable to UnionPay cardholders in mainland China). "];
2. Use the drawdown to change the line, IE \ n
NSString *equitycontent = @ "@" 1, through the membership certification, and the certificate is bound by China UnionPay Platinum Credit card or diamond credit card holders can enjoy the benefits; \n2, platinum or diamond card specifically refers to: Card face with UnionPay logo and "Platinum/platinum" or "Priorit platinum/platinum" or "diamond/diamond" the words of the bank card; \N3 is only applicable to UnionPay cardholders in mainland China. "];
Long text wrapping for IOS text