Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 a 添加UITextView到另一个视图(如下所示)并希望它旋转 15-20 度。怎么做到呢?
UITextView
您需要为此使用转换。
textView.transform = CGAffineTransformRotate(textView.transform, M_PI*45/180);
我不太确定角度。我希望这会有所帮助。