08 2015 档案

摘要:searchBar 隐藏CGRect newBounds = self.tableView.bounds; newBounds.origin.y = newBounds.origin.y + _headerSearchBar.bounds.size.height; self.tableView.... 阅读全文
posted @ 2015-08-28 14:48 levyleo 阅读(237) 评论(0) 推荐(0)
摘要:在使用了UITableView 或UIScrollView的controller 里无法响应触摸事件touch事件, 自定义tableView、scrollView#import @interface touchScrollView : UIScrollView@end#import "touchS... 阅读全文
posted @ 2015-08-13 15:17 levyleo 阅读(539) 评论(0) 推荐(0)
摘要:Masonry https://github.com/Masonry/Masonry[_testView mas_makeConstraints:^(MASConstraintMaker *make) { make.edges.mas_equalTo(_testView.superview) }];... 阅读全文
posted @ 2015-08-11 15:24 levyleo 阅读(119) 评论(0) 推荐(0)
摘要:当同时使用pan和pin手势时假如冲突,需要加入下面方法- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIG... 阅读全文
posted @ 2015-08-06 18:19 levyleo 阅读(1002) 评论(0) 推荐(0)