2015年11月25日

摘要: - (void)textViewDidChange:(UITextView *)textView{ NSString *temp=textView.text; //字数超过限制数量时,进行截取替换 if([[textView text] length] > _limitCharact... 阅读全文
posted @ 2015-11-25 11:44 I'm new 阅读(212) 评论(0) 推荐(0) 编辑
 
摘要: [_mapView removeFromSuperview]; [self addSubview:_tableView]; //应将self.view设置为翻转对象 [UIView transitionWithView:self duration:1.0 options:UI... 阅读全文
posted @ 2015-11-25 11:41 I'm new 阅读(201) 评论(0) 推荐(0) 编辑
 
摘要: self.automaticallyAdjustsScrollViewInsets = NO;需设置这个属性 阅读全文
posted @ 2015-11-25 11:39 I'm new 阅读(131) 评论(0) 推荐(0) 编辑
 
摘要: //先释放之前的 YK_RELEASE_SAFELY(_selectedDate); //retain新的 _selectedDate = [aDate retain];NSString 属性的好像不需要先Retain 阅读全文
posted @ 2015-11-25 11:37 I'm new 阅读(193) 评论(0) 推荐(0) 编辑
 
摘要: +(UIButton *)getBlueButtonWithTitle:(NSString *)aTitle{ UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; //要使用系统的变灰,只需设置Backgroun... 阅读全文
posted @ 2015-11-25 11:34 I'm new 阅读(2340) 评论(0) 推荐(0) 编辑