摘要: 第一、UIButton的定义 UIButton *button=[[UIButton buttonWithType:(UIButtonType); 能够定义的button类型有以下6种, typedef enum { UIButtonTypeCustom = 0, 自定义风格 UIButtonTypeRoundedRect, 圆角矩形 UIButtonTypeDetailDisclosure, 蓝色小箭头按钮,主要做详细说明用 UIButtonTypeInfoLight, 亮色感叹号 UIButtonTypeInfoDark, 暗色感叹号 UIButtonTypeContactAdd, 十字加号按钮 } UIButtonType; 第二、设置frame button1.frame = CGRectMake(20, 20, 280, 40); 阅读全文
posted @ 2013-11-13 19:52 苹果吧 阅读(46438) 评论(0) 推荐(0) 编辑
摘要: 源码:http://files.cnblogs.com/ios8/%5Bcode4app.com%5DIntroductionTutorialView_10843.zip 可以看看demo,很简单,我也是一看就懂。 下面说说我整合到我的项目中的方法。 阅读全文
posted @ 2013-11-13 08:20 苹果吧 阅读(15348) 评论(1) 推荐(0) 编辑