UIbutton

//旋转180度

button.transfrom=CGAffineTransformMakeRotation(M_PI);

//将字符串按照+-*/进行分割

NSArray *array=[self.showLabel.text componentSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharacterInString:@"+-*/"]];

原文地址:https://www.cnblogs.com/y16879w/p/4409558.html