2
僅僅出於興趣,ARC是否處理了這個問題,還是您必須發佈變換?CGAffineTransform是否符合ARC?
UISlider *slider = [[UISlider alloc] init];
CGAffineTransform transform = CGAffineTransformMakeRotation (DEGREES_TO_RADIANS(90));
slider.transform = transform;
感謝