UIbutton

//旋转180度

button.transfrom=CGAffineTransformMakeRotation(M_PI);

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

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

你可能感兴趣的:(UIButton)