自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

后来这个人死了...

注释多写一点会死星人??

  • 博客(7)
  • 收藏
  • 关注

原创 unrecognized selector sent to instance

折腾了一上午= =; 视图不能定义为局部变量;

2015-03-25 12:48:10 428

原创 UITableView指定Cell的点击区域

写在自定义的cell类里- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event { CGPoint pt = [self.contentView convertPoint:point toView:self.clickView]; if ([self.clickView pointInside:pt withEven

2015-02-25 17:55:18 2353

原创 Swift计算字符串高度,宽度,size方法

计算字符串的高度 swift的原生方法名,基本跟OC一致 OC旧方法, 用了会警告 CGSize size = [self.message sizeWithFont:[UIFont systemFontOfSize:17] constrainedToSize:CGSizeMake(200, 9999)];OC新方法 CGSize size = [topicModel.content

2015-02-25 17:28:10 8883

转载 iOS8 PUSH解决方法

- (void)registerForRemoteNotificationTypes:(UIRemoteNotificationType)types NS_DEPRECATED_IOS(3_0, 8_0,"Please use registerForRemoteNotifications and registerUserNotificationSettings: instead")

2014-11-06 11:23:44 820

原创 UITableView Controller报错解决方法

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect

2014-10-29 21:07:17 721

原创 ios UITextView bug 输入文字跳动bug问题 (・ˍ・*)

ios UITextView 输入中文时文字跳动问题 当输入中文文字多于显示的textview框时,最后一行的文字有时候会因为输入的时候而跳动把最后一行的文字盖住一半,再输入时却又跳起来显示. 这是什么诡异的bug,在调整公司项目的时候,出现了这个问题 以前没碰到过.特么的我还以为是公司自定义的textview有问题,重写了之后还是存在这个问题,于是我新建了个新的项目专门调试这个textvi

2014-10-29 19:47:12 6390

原创 UITabBarController 和 UINavigationController 的 popToRootViewController

UITabBarController 的每一个Tab上是一个UINavigationController,当一个子viewcontroller 里面 popToRootViewController :YES,紧接着 UITabBarController setselectedindex:N,就会出现UITabBarController 不见了,但是进入子viewcontroller的时候会闪一下,

2014-10-19 14:45:51 2131

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除