iOS--登录注册页面-趣享-接口设计
摘要:dao.h文件: .m文件: 文件结构: 文件另外上传!
阅读全文
posted @
2017-01-11 15:21
麦芽呀~
阅读(289)
推荐(0) 编辑
iOS--圆角按钮
摘要://进入按钮 UIButton *enterMainButton = [[UIButton alloc] initWithFrame:CGRectMake(65, self.PageHeight-120,250 , 45)]; enterMainButton.layer.borderWidth = 1; enterMainButton.layer.cornerRadius...
阅读全文
posted @
2017-01-11 15:15
麦芽呀~
阅读(334)
推荐(0) 编辑
ios--万能点击事件,给label等控件添加点击事件
摘要:UITapGestureRecognizer *labelTapGestureRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(labelClick)];[self.UserRate a
阅读全文
posted @
2017-01-11 15:09
麦芽呀~
阅读(448)
推荐(0) 编辑
iOS--九宫格布局
摘要:[self rankWithTotalColumns:2 andWithAppW:180 andWithAppH:170]; //九宫格布局 - (void)rankWithTotalColumns:(int)totalColumns andWithAppW:(int)appW andWithAppH:(int)appH{ //总列数 int _totalColumns = t...
阅读全文
posted @
2017-01-09 17:11
麦芽呀~
阅读(247)
推荐(0) 编辑
iOS--创建uiscrollview
摘要://创建uiscrollview self.PageHeight = self.view.bounds.size.height; self.PageWidth = self.view.bounds.size.width; self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, ...
阅读全文
posted @
2017-01-09 17:10
麦芽呀~
阅读(227)
推荐(0) 编辑
iOS--导航栏样式
摘要:push返回按钮样式: 自由点击事件: 创建左右导航栏按钮,搜索与个人中心:
阅读全文
posted @
2017-01-09 17:08
麦芽呀~
阅读(188)
推荐(0) 编辑
IOS--跳转方式两种
摘要:带导航栏的Push跳转: 不带导航栏的present跳转:
阅读全文
posted @
2017-01-09 17:03
麦芽呀~
阅读(190)
推荐(0) 编辑