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