摘要:
转载自:http://tieba.baidu.com/p/8306010361 随机数的使用头文件的引用#import <time.h>#import <mach/mach_time.h>srandom()的使用srandom((unsigned)(mach_absolute_time() & 0xFFFFFFFF));直接使用random()来调用随机数2 在UIImageView 中旋转图像float rotateAngle = M_PI; CGAffineTransform transform =CGAffineTransformMakeRotation( 阅读全文