類似這種,我不想讓下面那些空的顯示.
很簡單.
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
新聞熱點
疑難解答