旋转视图

    技术2022-05-20  39

     

    CGAffineTransform rotation = CGAffineTransformMakeRotation(1.57079633);  //旋转90度

     

    [youview setTransform:rotation];  //yourview 是准备旋转的视图,是UIView子类

     

     


    最新回复(0)