类似这种,我不想让下面那些空的显示.
很简单.
self.tableView.tableFooterView = [[UIView alloc] init];
试过的都说好.
加完这句之后就变成了这样.
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:img style:UIBarButtonItemStylePlain target:self action:@selector(onBack:)];self.navigationController.interactivePopGestureRecognizer.delegate = (id<UIGestureRecognizerDelegate>)self;
self.automaticallyAdjustsScrollViewInsets = NO;
如图
这个神器叫做:KMCGeigerCounter
快去github搬运吧.
_myTableView.separatorInset = UIEdgeInsetsMake(0, 100, 0, 0);
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self.view endEditing:YES];}
使用基类啊,少年.
像拉button一样的拉你的约束.nslayoutattribute也是可以拉线的.
navigationController.hidesBarsOnSwipe = Yes
[[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60) forBarMetrics:UIBarMetricsDefault];
MagicRecord
CSStickyHeaderFlowLayout
http://www.jianshu.com/p/50b63a221f09
新闻热点
疑难解答