0.分割線
[self.TableViewAccount setSeparatorInset:UIEdgeInsetsMake(0, 20, 0, 20)];
1.tableview點(diǎn)沒點(diǎn)都一樣
cell.selectionStyle = UITableViewCellSelectionStyleNone;
2.去掉tableview分割線
self.tableViewInstallationDetails.separatorStyle = UITableViewCellSeparatorStyleNone;
3.iOS10 字體顯示不全
label.adjustsFontSizeToFitWidth = YES;//iOS10 字顯示不全 設(shè)置成YES就可以啦
4.button 上的字左對(duì)齊
buttonAgreement.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;// 這行代碼,把按鈕的內(nèi)容(控件)
5.在button中找cell
ShoppingListCell * cell = (ShoppingListCell *)[_tableViewShoppingList cellForRowAtIndexPath:[NSIndexPath indexPathForRow:i? inSection:0]];

//一個(gè)section刷新
NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2];
[tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic];
//一個(gè)cell刷新
NSIndexPath *indexPath=[NSIndexPath indexPathForRow:3 inSection:0];
[tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath,nil] withRowAnimation:UITableViewRowAnimationNone];
6.后臺(tái)播放音頻的方法

7.添加手勢(shì)使鍵盤下落
UITapGestureRecognizer * singleTap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(clickSingleTap)];
[self.view addGestureRecognizer:singleTap];
#pragma mark - 手勢(shì)? 鍵盤下落
-(void)clickSingleTap
{
[self.view endEditing:YES];
}