上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: UIView *v = [textView superview];//获取父类view UIView *v1 = [v superview]; JWTYLIncomeInformationCell *cell = (JWTYLIncomeInformationCell *)[v1 superview 阅读全文
posted @ 2017-03-22 13:52 tongyuling 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: http://www.guhei.net/post/jb1153 阅读全文
posted @ 2017-01-09 16:10 tongyuling 阅读(207) 评论(0) 推荐(0) 编辑
摘要: self.textfield.autocorrectionType = UITextAutocorrectionTypeNo; 阅读全文
posted @ 2017-01-04 17:26 tongyuling 阅读(2066) 评论(0) 推荐(0) 编辑
摘要: delegeate 方法: - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string 获取长度: NSUIn 阅读全文
posted @ 2016-12-02 16:35 tongyuling 阅读(742) 评论(0) 推荐(0) 编辑
摘要: 升级到 iOS10后,运行程序,打印台会出现许多乱码七糟的打印日志,在工程配置中可以将其去掉(每个工程都需要添加) 解决方法:Xcode8里边 Edit Scheme... -> Run -> Arguments,(快捷键:shift + command + <) 在Environment Vari 阅读全文
posted @ 2016-11-30 16:03 tongyuling 阅读(1218) 评论(0) 推荐(0) 编辑
摘要: 附件 : http://www.jianshu.com/p/ce26f05cd7cc 阅读全文
posted @ 2016-11-24 10:47 tongyuling 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: 1.先定义一个 label 2.//左上&左下为圆角 UIBezierPath * maskPath = [UIBezierPath bezierPathWithRoundedRect:label.bounds byRoundingCorners:UIRectCornerBottomLeft|UIR 阅读全文
posted @ 2016-11-22 09:56 tongyuling 阅读(2856) 评论(0) 推荐(0) 编辑
摘要: 调整导航栏返回按钮的位置//创建返回按钮 UIButton * leftBtn = [UIButton buttonWithType:UIButtonTypeSystem]; leftBtn.frame = CGRectMake(0, 0, 25,25); [leftBtn setBackgroun 阅读全文
posted @ 2016-10-11 10:22 tongyuling 阅读(6374) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/openglnewbee/article/details/38824139 阅读全文
posted @ 2016-09-23 15:37 tongyuling 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-09-19 10:18 tongyuling 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页