- 博客(7)
- 收藏
- 关注
原创 mac 安装Jenkins问题记录
There was an OPT answer. Not currently handled. Option code:
2016-03-01 17:06:41 930
原创 ios 手写键盘闪退问题 UIKBBlurredKeyView candidateList
ios 手写键盘闪退问题 UIKBBlurredKeyView candidateListAPP在iPhone4s以上的手机上出现了手写键盘闪退的问题 * ios 手写键盘闪退问题* UIKBBlurredKeyView candidateList 问题描述在输入UITextField时,调出系统的手写键盘,在输入第二个字时,APP闪退
2016-01-20 17:05:02 2371
原创 UITextField 光标的缩进问题
UITextField 光标的缩进最近项目中用到UITextField,而UITextField起始光标太靠前,不是很美观,所以想把UITextField的光标往后移动,现在找到一个很鸡贼的办法,哈哈,记录下来。 解决办法就是在UITextField的左视图设为一个空的UILabel,位置是(0,0),宽度为光标需要后移的长度,高度设为零 以下为代码://缩进输入框光标的位置 UILabel
2016-01-04 11:36:07 1019
原创 ios中平移手势的跳动问题
要把Translation置零 pan手势方法中的代码改为 CGPoint translation = [pan translationInView:_imageView]; _imageView.center = CGPointMake(_imageView.center.x + translation.x, _imageView.center.y + translation.
2015-09-28 10:16:04 510
转载 iOS tintColor与backgroundColor
UIView及其子类有两个设置颜色的属性:tintColor 和 backgroundColor ? 你知道他们的区别么? 1.backgroundColor顾名思义就是背景颜色,就是整个UIView子类的充满视图的颜色; 特点: (1).默认父视图设置的背景颜色,如果子视图的背景颜色也是default那么默认透明的视图都是父视图的背景颜色 (2)背景颜色对于视图
2015-09-24 11:08:31 741
原创 iOS问题:[UIButton setCurrentPage:]: unrecognized selector sent to instance
tag值冲突.......
2015-09-14 20:22:34 731
原创 iOS导航栏NavigationBar的颜色,按钮和标题以及字体颜色
首先,层级关系: leftBarButtonItem、rightBarButtonItem、title都是加在UINavigationItem上的,UINavigationItem再加在NavigationBar上. 1. 设置导航栏NavigationBar的背景颜色: 在appdelegate里创建UINavigationController后 设置 (1.) setBar
2015-09-12 14:38:45 763
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人