摘要:
http://www.cocoachina.com/ios/20150127/11022.html 阅读全文
posted @ 2015-12-31 15:53
小毛驴
阅读(115)
评论(0)
推荐(0)
摘要:
CoreGraphics.hCGAffineTransform rotation = CGAffineTransformMakeRotation(M_PI_2);[xxx setTransform:rotation];呵呵就这么简单的两行代码就可以实现了!顺便记录一些常量,以后用的着!#define... 阅读全文
posted @ 2015-12-31 14:26
小毛驴
阅读(364)
评论(0)
推荐(0)
摘要:
首先创建界面,在viewDidLoad创建view以及button相关代码如下-(void)viewDidLoad{ [super viewDidLoad]; viewDemo = [[UIView alloc] initWithFrame:CGRectMake(0, 50, 320, 50)]... 阅读全文
posted @ 2015-12-31 09:54
小毛驴
阅读(931)
评论(0)
推荐(0)
浙公网安备 33010602011771号