摘要:
UIView *v = [textView superview];//获取父类view UIView *v1 = [v superview]; JWTYLIncomeInformationCell *cell = (JWTYLIncomeInformationCell *)[v1 superview 阅读全文
摘要:
http://www.guhei.net/post/jb1153 阅读全文
摘要:
self.textfield.autocorrectionType = UITextAutocorrectionTypeNo; 阅读全文
摘要:
delegeate 方法: - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string 获取长度: NSUIn 阅读全文
摘要:
升级到 iOS10后,运行程序,打印台会出现许多乱码七糟的打印日志,在工程配置中可以将其去掉(每个工程都需要添加) 解决方法:Xcode8里边 Edit Scheme... -> Run -> Arguments,(快捷键:shift + command + <) 在Environment Vari 阅读全文
摘要:
附件 : http://www.jianshu.com/p/ce26f05cd7cc 阅读全文
摘要:
1.先定义一个 label 2.//左上&左下为圆角 UIBezierPath * maskPath = [UIBezierPath bezierPathWithRoundedRect:label.bounds byRoundingCorners:UIRectCornerBottomLeft|UIR 阅读全文
摘要:
调整导航栏返回按钮的位置//创建返回按钮 UIButton * leftBtn = [UIButton buttonWithType:UIButtonTypeSystem]; leftBtn.frame = CGRectMake(0, 0, 25,25); [leftBtn setBackgroun 阅读全文
摘要:
http://blog.csdn.net/openglnewbee/article/details/38824139 阅读全文