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

浙公网安备 33010602011771号