摘要:
http://www.cocoachina.com/ios/20150127/11022.html 阅读全文
摘要:
CoreGraphics.hCGAffineTransform rotation = CGAffineTransformMakeRotation(M_PI_2);[xxx setTransform:rotation];呵呵就这么简单的两行代码就可以实现了!顺便记录一些常量,以后用的着!#define... 阅读全文
摘要:
首先创建界面,在viewDidLoad创建view以及button相关代码如下-(void)viewDidLoad{ [super viewDidLoad]; viewDemo = [[UIView alloc] initWithFrame:CGRectMake(0, 50, 320, 50)]... 阅读全文